TFS Event 4202 Monitor

TeamFoundationServer2017.TfsEvent4202Monitor (UnitMonitor)

Monitor to detect event 4202 - Collection Does Not Exist Exception

Knowledge Base article:

Summary

TFS Event 4202 occurred. Raised by the team project collection service when an operation fails because the specified team project does not exist.

Resolutions

Information only, continue to monitor system for health and availability.

Element properties:

TargetTeamFoundationServer2017.TfsAppComponentBase
Parent MonitorSystem.Health.AvailabilityState
CategorySecurityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeTeamFoundationServer2017.TfsSingleEventLogUnitMonitor
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="TeamFoundationServer2017.TfsEvent4202Monitor" Accessibility="Public" Enabled="true" Target="TeamFoundationServer2017.TfsAppComponentBase" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="TeamFoundationServer2017.TfsSingleEventLogUnitMonitor" ConfirmDelivery="true">
<Category>SecurityHealth</Category>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<EventDisplayNumber>4202</EventDisplayNumber>
<TimerWaitInSeconds>600</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>