Earlier this month I applied TFS 2013 Update 4. We were previously running 2013 Update 3. We were humming along and then the following week I applied DNS friendly names to our TFS environment. Everything seemed to be fine until I came in the office to discover
that the TFS Background Job Agent was stopped.
I have a test and dev TFS environment with update 4 and DNS friendly names and none of the machines are exhibiting this behavior. Each time I try to restart the service, I get the following events as a result.
Error # 1
Event Id: 9003
Source: TFS Services
Unable to call CoInitializeSecurity. Error: -2147417831
Error # 2
Event Id: 1026
Source: .NET Runtime
Application: TfsJobAgent.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ApplicationException
Stack:
at Microsoft.TeamFoundation.Framework.Service.WindowsService.ThrowNativeErrorOnInitialize(System.String)
at Microsoft.TeamFoundation.Framework.Service.WindowsService.SetSecurity()
at Microsoft.TeamFoundation.Framework.Service.WindowsService.Main(System.String[])
Error # 3
Event Id: 1000
Source: Application Error
Faulting application name: TfsJobAgent.exe, version: 12.0.31101.0, time stamp: 0x54547150
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
Exception code: 0xe0434352
Fault offset: 0x0000000000008b9c
Faulting process id: 0x1d34
Faulting application start time: 0x01d04a245e14111d
Faulting application path: C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TfsJobAgent\TfsJobAgent.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 9c678173-b617-11e4-80e8-005056af4240
Faulting package full name:
Faulting package-relative application ID:
Info # 1
Event Id: 1001
Source: Windows Error Reporting
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: TfsJobAgent.exe
P2: 12.0.31101.0
P3: 54547150
P4: TfsJobAgent
P5: 12.0.31101.0
P6: 54547150
P7: 47
P8: 12
P9: System.ApplicationException
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TfsJobAgent.exe_1cd99d10a42251e4cf8b71fd5ad7160125759d7_74c38e02_243fc48f
Analysis symbol:
Rechecking for solution: 0
Report Id: fd9b3ed6-b6c6-11e4-80e8-005056af4240
Report Status: 4100
Hashed bucket:
Info # 2
Event Id: 1001
Source: Windows Error Reporting
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: TfsJobAgent.exe
P2: 12.0.31101.0
P3: 54547150
P4: TfsJobAgent
P5: 12.0.31101.0
P6: 54547150
P7: 47
P8: 12
P9: System.ApplicationException
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TfsJobAgent.exe_1cd99d10a42251e4cf8b71fd5ad7160125759d7_74c38e02_243fc48f
Analysis symbol:
Rechecking for solution: 0
Report Id: fd9b3ed6-b6c6-11e4-80e8-005056af4240
Report Status: 0
Hashed bucket:
Info # 3
Event Id: 9009
Source: Desktop Window Manager
The Desktop Window Manager has exited with code (0x00002fe)
Crash Report
Version=1
EventType=CLR20r3
EventTime=130686662513328212
ReportType=2
Consent=1
ReportIdentifier=fd9b3ed7-b6c6-11e4-80e8-005056af4240
IntegratorReportIdentifier=fd9b3ed6-b6c6-11e4-80e8-005056af4240
NsAppName=TfsJobAgent.exe
Response.type=4
Sig[0].Name=Problem Signature 01
Sig[0].Value=TfsJobAgent.exe
Sig[1].Name=Problem Signature 02
Sig[1].Value=12.0.31101.0
Sig[2].Name=Problem Signature 03
Sig[2].Value=54547150
Sig[3].Name=Problem Signature 04
Sig[3].Value=TfsJobAgent
Sig[4].Name=Problem Signature 05
Sig[4].Value=12.0.31101.0
Sig[5].Name=Problem Signature 06
Sig[5].Value=54547150
Sig[6].Name=Problem Signature 07
Sig[6].Value=47
Sig[7].Name=Problem Signature 08
Sig[7].Value=12
Sig[8].Name=Problem Signature 09
Sig[8].Value=System.ApplicationException
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.3.9600.2.0.0.272.7
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
UI[2]=C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TfsJobAgent\TfsJobAgent.exe
UI[5]=Check online for a solution (recommended)
UI[6]=Check for a solution later (recommended)
UI[7]=Close
UI[8]=TfsJobAgent.exe stopped working and was closed
UI[9]=A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
UI[10]=&Close
FriendlyEventName=Stopped working
ConsentKey=CLR20r3
AppName=TfsJobAgent.exe
AppPath=C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TfsJobAgent\TfsJobAgent.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=1037B24552A86061BD7F9C95FD6E8DC5
Really at a lose on this one. Any ideas on how to solve and/or troubleshoot a problem like this?