Heute Morgen gingen plötzlich die Workflows nicht mehr. Ich konnte mich noch erinnern dass ich das schonmal hatte und damals dieser Dienst der Schuldige war. Damals lies er sich aber starten. Diesmal nicht...
Das steht im Trace:
[2008-10-10 10:40:10.8] Process:CrmAsyncService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 4 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmEventLog.WriteEntry
at CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Boolean traceFailure, Object[] values)
at CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Object[] values)
at AsyncService.WriteEventLog(EventLogEntryType eventType, Int64 eventLogId, Object[] parameters)
at AsyncService.OnStart(String[] args)
at ServiceBase.ServiceQueuedMainCallback(Object state)
at _ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at _ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at _ThreadPoolWaitCallback.PerformWaitCallback(Object state)
>Failed to write the following event message to the Event Log.
EventType:Error
EventId=3221242882
Contents:DADCV04System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at Microsoft.Crm.Asynchronous.PerformanceCounters..ctor(String instanceName)
at Microsoft.Crm.Asynchronous.AsyncService.OnStart(String[] args)
The exception information is:
System.Security.SecurityException: Requested registry access is not allowed.
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData)
at System.Diagnostics.EventLog.VerifyAndCreateSource(String sourceName, String currentMachineName)
at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Byte[] data, Object[] values)
at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values)
at Microsoft.Crm.CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Boolean traceFailure, Object[] values)
The Zone of the assembly that failed was:
MyComputer
[2008-10-10 10:40:10.8] Process:CrmAsyncService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 4 |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error | AsyncService.OnStart
>Exception while starting async service: MSCRMAsyncService - System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at Microsoft.Crm.Asynchronous.PerformanceCounters..ctor(String instanceName)
at Microsoft.Crm.Asynchronous.AsyncService.OnStart(String[] args)
Was läuft da schief? Jemand eine Idee?
Danke und Gruß