none
Claims to Windows Token Server Error Starting RRS feed

  • Question

  • I was going through our farm and checking that the correct services were started on the correct servers and noticed that on one of the WFEs the Claims to Windows Token Service was stopped. I attempted to start the service and after a minute the "Starting" status changed to "Error Starting". I went to the Even View on the server and the error said "An attempt to start/stop instance of service Clames to windows Token Service on server did not succeed. Re-run the action via UI or command line on the specified server. Additional information is below." And below it said "Illegal Characters in Path". After trying again several times and still recieving the same error, I searched online but couldn't find any related articles. I also turned on Verbose logging and grabbed the ULS log for the error: "Error executing service instance (un)provisioning job. Service instance: "Claims to windows token service" "Illegal Characters in Path."" Also, "System.argumentException: Illegal characters in path. at System.IO.Path.GetFileName(String Path) at System.IO.FileStream..ctor(String Path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteURi, String role, Type ofObjectToReturn)..."

    I have been unable to solve the issue or get the service to start. I have already rebooted the server as well with the problem still persisting.

    Any Ideas or help?

    Tuesday, August 5, 2014 7:49 PM

Answers

  • The string should be this:

    %ProgramFiles%\Windows Identity Foundation\v3.5\c2wtshost.exe

    I'm not sure why you have quote characters in your string, but try editing the path to what I have above and then attempt to start C2WTS via Central Admin.


    Trevor Seward

    Follow or contact me at...
      

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    • Marked as answer by Matthew.Hayes Thursday, August 7, 2014 3:26 PM
    Thursday, August 7, 2014 2:45 PM
    Moderator

All replies

  • Can you provide the full stack trace from the provisioning error? It is likely wrapped on multiple lines in the ULS log.

    Trevor Seward

    Follow or contact me at...
      

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Tuesday, August 5, 2014 7:59 PM
    Moderator
  • 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology 7034 Critical An attempt to start/stop instance of service Claims to Windows Token Service on server SERVER_WFE did not succeed. Re-run the action via UI or command line on the specified server. Additional information is below. Illegal characters in path. 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 2m1i Verbose Adding event 7034 (category: Topology, product: SharePoint Foundation) to spam monitoring list 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Timer 3899 Critical Error executing service instance (un)provisioning job. Service instance: "Claims to Windows Token Service" (id "e6284d34-17df-4ef2-bee3-4bbbce7d842d) "Illegal characters in path."" 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 2m1i Verbose Adding event 3899 (category: Timer, product: SharePoint Foundation) to spam monitoring list 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology c4rg Exception System.ArgumentException: Illegal characters in path. at System.IO.Path.GetFileName(String path) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read... 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58* OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology c4rg Exception ...() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance.Provision() at Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition.Execute(Guid targetInstanceId) StackTrace: at onetnative.dll: (sig=32e3f3e8-b516-4844-abaa-eb7b17ed969a|2|onetnative.pdb, offset=28B42) at onetnative.dll: (offset=152A9) 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 344k Verbose ULSCallWatson beginning for tag = 1664381543 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 344l Verbose ULSCallWatson incrementing SQM exception count 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation SQM 97qu Verbose SQM: Datapoint id 6902 marked as Increment datapoint. 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 344n Verbose ULSCallWatson using passed in bucketing parameters 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 344p Verbose Succesfully prepared for DW 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service c91s Monitorable Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation", 0f001181 "15.0.4481.0", c180aef3 "mscorlib", 0400766f "4.0.30319.0", 5267661e "wed oct 23 02:01:02 2013", 00004647 "00004647", 00000025 "00000025", 44395864 "argumentexception", 63347267 "c4rg" 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 345c Verbose ULSCallWatson has found Watson DISABLED 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology 88b9 Verbose Determining if the current user is a SharePoint Farm Administrator 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology 8xqz Medium Updating SPPersistedObject SPWindowsTokenServiceInstance. Version: 4151816 Ensure: False, HashCode: 30714212, Id: e6284d34-17df-4ef2-bee3-4bbbce7d842d, Stack: at Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition.Execute(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition.ExecuteAdminJob(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology 88b9 Verbose Determining if the current user is a SharePoint Farm Administrator 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Database tzku Verbose ConnectionString: 'Data Source=SQL00;Initial Catalog=Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[OWSTIMER][1][Config]' Partition: NULL ConnectionState: Closed ConnectionTimeout: 15 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.58 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Database ahjqp Verbose SQL connection time: 0.0338031788956418 for Data Source=SQL00;Initial Catalog=Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[OWSTIMER][1][Config] 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Database tzku Verbose ConnectionString: 'Data Source=SQL00;Initial Catalog=Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[OWSTIMER][1][Config]' Partition: NULL ConnectionState: Closed ConnectionTimeout: 15 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Database ahjqp Verbose SQL connection time: 0.0511238160157227 for Data Source=SQL00;Initial Catalog=Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[OWSTIMER][1][Config] 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology umbj Verbose Deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology ahg9p Verbose Completed deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology 96fl Verbose Entered SPProvisioningAssistant.CopyFile(C:\ProgramData\Microsoft\SharePoint\Config\1e37abf5-2192-41d1-b617-a5f5a0370cb3\e6284d34-17df-4ef2-bee3-4bbbce7d842d.xml.tmp, C:\ProgramData\Microsoft\SharePoint\Config\1e37abf5-2192-41d1-b617-a5f5a0370cb3\e6284d34-17df-4ef2-bee3-4bbbce7d842d.xml, True) 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nasq Verbose Entering monitored scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Parent No 08/05/2014 12:55:01.59 SPUCWorkerProcessProxy.exe (0x13C8) 0x0AD0 SharePoint Foundation Monitoring nasq Verbose Entering monitored scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Parent No 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring aeap2 Verbose Set diagnostics context correlationid 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d, trace level Unexpected, isDevdashboardenabled False 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Logging Correlation Data 77a3 Verbose Starting correlation. 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Unified Logging Service cn4f Verbose Trace level override is set to 10. 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 SPUCWorkerProcessProxy.exe (0x13C8) 0x0AD0 SharePoint Foundation Monitoring aeap2 Verbose Set diagnostics context correlationid 5494ab9c-cc4d-30f9-2f93-0a0d1d9b6cd3, trace level Unexpected, isDevdashboardenabled False 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Usage Infrastructure ag03l Verbose SPTaskUsageMonitoredScope was created with a null SPDiagnosticsState, diagnostic information will be based on the current monitored scope. 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 SPUCWorkerProcessProxy.exe (0x13C8) 0x0AD0 SharePoint Foundation Logging Correlation Data 77a3 Verbose Starting correlation. 5494ab9c-cc4d-30f9-2f93-0a0d1d9b6cd3 08/05/2014 12:55:01.59 SPUCWorkerProcessProxy.exe (0x13C8) 0x0AD0 SharePoint Foundation Unified Logging Service cn4f Verbose Trace level override is set to 10. 5494ab9c-cc4d-30f9-2f93-0a0d1d9b6cd3 08/05/2014 12:55:01.59 SPUCWorkerProcessProxy.exe (0x13C8) 0x0AD0 SharePoint Foundation Usage Infrastructure ag03l Verbose SPTaskUsageMonitoredScope was created with a null SPDiagnosticsState, diagnostic information will be based on the current monitored scope. 5494ab9c-cc4d-30f9-2f93-0a0d1d9b6cd3 08/05/2014 12:55:01.59 SPUCHostService.exe (0x0BE4) 0x147C SharePoint Foundation Monitoring nasq Verbose Entering monitored scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Parent No 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Monitoring nasq Verbose Entering monitored scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Parent No 08/05/2014 12:55:01.59 SPUCHostService.exe (0x0BE4) 0x147C SharePoint Foundation Monitoring aeap2 Verbose Set diagnostics context correlationid 5494ab9c-cc4d-30f9-2f93-0ef6037cbcb0, trace level Unexpected, isDevdashboardenabled False 08/05/2014 12:55:01.59 SPUCHostService.exe (0x0BE4) 0x147C SharePoint Foundation Logging Correlation Data 77a3 Verbose Starting correlation. 5494ab9c-cc4d-30f9-2f93-0ef6037cbcb0 08/05/2014 12:55:01.59 SPUCHostService.exe (0x0BE4) 0x147C SharePoint Foundation Unified Logging Service cn4f Verbose Trace level override is set to 10. 5494ab9c-cc4d-30f9-2f93-0ef6037cbcb0 08/05/2014 12:55:01.59 SPUCHostService.exe (0x0BE4) 0x147C SharePoint Foundation Usage Infrastructure ag03l Verbose SPTaskUsageMonitoredScope was created with a null SPDiagnosticsState, diagnostic information will be based on the current monitored scope. 5494ab9c-cc4d-30f9-2f93-0ef6037cbcb0 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Monitoring aeap2 Verbose Set diagnostics context correlationid 5494ab9c-cc4d-30f9-2f93-063ff16c66a0, trace level Unexpected, isDevdashboardenabled False 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Logging Correlation Data 77a3 Verbose Starting correlation. 5494ab9c-cc4d-30f9-2f93-063ff16c66a0 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Unified Logging Service cn4f Verbose Trace level override is set to 10. 5494ab9c-cc4d-30f9-2f93-063ff16c66a0 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Usage Infrastructure ag03l Verbose SPTaskUsageMonitoredScope was created with a null SPDiagnosticsState, diagnostic information will be based on the current monitored scope. 5494ab9c-cc4d-30f9-2f93-063ff16c66a0 08/05/2014 12:55:01.59 PowerShell_ISE.exe (0x0574) 0x0624 SharePoint Foundation Monitoring nasq Verbose Entering monitored scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Parent No 08/05/2014 12:55:01.59 PowerShell_ISE.exe (0x0574) 0x0624 SharePoint Foundation Monitoring aeap2 Verbose Set diagnostics context correlationid 5494ab9c-cc4d-30f9-2f93-0a61644fc39d, trace level Unexpected, isDevdashboardenabled False 08/05/2014 12:55:01.59 PowerShell_ISE.exe (0x0574) 0x0624 SharePoint Foundation Logging Correlation Data 77a3 Verbose Starting correlation. 5494ab9c-cc4d-30f9-2f93-0a61644fc39d 08/05/2014 12:55:01.59 PowerShell_ISE.exe (0x0574) 0x0624 SharePoint Foundation Unified Logging Service cn4f Verbose Trace level override is set to 10. 5494ab9c-cc4d-30f9-2f93-0a61644fc39d 08/05/2014 12:55:01.59 PowerShell_ISE.exe (0x0574) 0x0624 SharePoint Foundation Usage Infrastructure ag03l Verbose SPTaskUsageMonitoredScope was created with a null SPDiagnosticsState, diagnostic information will be based on the current monitored scope. 5494ab9c-cc4d-30f9-2f93-0a61644fc39d 08/05/2014 12:55:01.59 w3wp.exe (0x2D38) 0x2AE8 SharePoint Foundation Monitoring nasq Verbose Entering monitored scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Parent No 08/05/2014 12:55:01.59 w3wp.exe (0x2D38) 0x2AE8 SharePoint Foundation Monitoring aeap2 Verbose Set diagnostics context correlationid 5494ab9c-cc4d-30f9-2f93-0e403e75e039, trace level Unexpected, isDevdashboardenabled False 08/05/2014 12:55:01.59 w3wp.exe (0x2D38) 0x2AE8 SharePoint Foundation Logging Correlation Data 77a3 Verbose Starting correlation. 5494ab9c-cc4d-30f9-2f93-0e403e75e039 08/05/2014 12:55:01.59 w3wp.exe (0x2D38) 0x2AE8 SharePoint Foundation Unified Logging Service cn4f Verbose Trace level override is set to 10. 5494ab9c-cc4d-30f9-2f93-0e403e75e039 08/05/2014 12:55:01.59 w3wp.exe (0x2D38) 0x2AE8 SharePoint Foundation Usage Infrastructure ag03l Verbose SPTaskUsageMonitoredScope was created with a null SPDiagnosticsState, diagnostic information will be based on the current monitored scope. 5494ab9c-cc4d-30f9-2f93-0e403e75e039 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Topology umbj Verbose Deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Topology ahg9p Verbose Completed deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 SPUCWorkerProcessProxy.exe (0x13C8) 0x0AD0 SharePoint Foundation Topology umbj Verbose Deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4d-30f9-2f93-0a0d1d9b6cd3 08/05/2014 12:55:01.59 SPUCWorkerProcessProxy.exe (0x13C8) 0x0AD0 SharePoint Foundation Topology ahg9p Verbose Completed deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4d-30f9-2f93-0a0d1d9b6cd3 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology umbj Verbose Deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology ahg9p Verbose Completed deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring b4ly Verbose Leaving Monitored Scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Execution Time=1.9290161179703 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____User Address= 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____Distributed Cache=0 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____Execution Time=1.9290161179703 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____SQL Query Count=0 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____Current User= 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____Page Checkout Level=Published 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____Critical Events=0 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____SPRequest Objects=0 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____CPU Cycles=2752732 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x26A4 SharePoint Foundation Monitoring nass Verbose ____Service Calls=0 5494ab9c-cc4d-30f9-2f93-0209d7bb3c7d 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Topology umbj Verbose Deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4d-30f9-2f93-063ff16c66a0 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Topology ahg9p Verbose Completed deserializing the type named Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=PKT_ID and with id 409638fb-17b8-4b19-8670-37bfce9c3da1. 5494ab9c-cc4d-30f9-2f93-063ff16c66a0 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Topology 88ch Verbose Exiting SPPersistedObject.Update() for SPWindowsTokenServiceInstance 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Timer 6398 Critical The Execute method of job definition Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition (ID 975a832c-9a97-4e3f-9964-43f455031810) threw an exception. More information is included below. Illegal characters in path. 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Unified Logging Service 2m1i Verbose Adding event 6398 (category: Timer, product: SharePoint Foundation) to spam monitoring list 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Timer 72ae Unexpected Exception stack trace: at System.IO.Path.GetFileName(String path) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Lo... 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59* OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Timer 72ae Unexpected ...ad(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance.Provision() at Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition.Execute(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition.ExecuteAdminJob(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Database tzku Verbose ConnectionString: 'Data Source=SQL00;Initial Catalog=Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[OWSTIMER][1][Config]' Partition: NULL ConnectionState: Closed ConnectionTimeout: 15 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 OWSTIMER.EXE (0x0B44) 0x0B94 SharePoint Foundation Database ahjqp Verbose SQL connection time: 0.0335238137808017 for Data Source=SQL00;Initial Catalog=Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[OWSTIMER][1][Config] 5494ab9c-cc4c-30f9-2f93-090b775e9149 08/05/2014 12:55:01.59 w3wp.exe (0x0364) 0x0E8C SharePoint Foundation Monitoring b4ly Verbose Leaving Monitored Scope (Task (FireChangeEvent e6284d34-17df-4ef2-bee3-4bbbce7d842d - Change)). Execution Time=2.6215622376587 5494ab9c-cc4d-30f9-2f93-063ff16c66a0
    Wednesday, August 6, 2014 1:22 PM
  • Hi,

    Provision it using below script and try to start again:

    $h = Get-SPServiceHostconfig

    $h.Provision()

    $services = Get-SPServiceApplication

    foreach ($service in $services) { $service.provision();

    write-host $service.name}


    Wednesday, August 6, 2014 2:41 PM
  • What is the value of the registry entry "ImagePath" located at the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\c2wts?

    Trevor Seward

    Follow or contact me at...
      

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Wednesday, August 6, 2014 4:25 PM
    Moderator
  • The value of the "ImagePath" registry entry is "%ProgramFiles%\"Windows Identity Foundtation"\v3.5\c2wtshost.exe"
    Thursday, August 7, 2014 2:40 PM
  • Thanks Prasad..I want to try and figure out what it wrong with it before I un/reprovision it.
    Thursday, August 7, 2014 2:41 PM
  • The string should be this:

    %ProgramFiles%\Windows Identity Foundation\v3.5\c2wtshost.exe

    I'm not sure why you have quote characters in your string, but try editing the path to what I have above and then attempt to start C2WTS via Central Admin.


    Trevor Seward

    Follow or contact me at...
      

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    • Marked as answer by Matthew.Hayes Thursday, August 7, 2014 3:26 PM
    Thursday, August 7, 2014 2:45 PM
    Moderator
  • That did the trick thanks Trevor!

    Thursday, August 7, 2014 3:26 PM