You are on page 1of 4

Captured Fields

Trace Time
Process
Organization
Thread
Category
User
Level
Stack
Exception

Example
[2008-07-05 00:00:00.3] Process:CrmAsyncService |Organization:53c1f7e1-e712-44a1-8497-38793a882ce2 |Thread: 19(MSCRM:-
TimerProcessor.ExecuteTimers) |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Verbose |
WorkloadThrottler.TraceWorkloadThrottlingInformation
at WorkloadThrottler.TraceWorkloadThrottlingInformation(Guid organizationId, Int32 priority, Int32 waitIteration, Int32
orgCapacity, Int32 actualWorkDone)
at WorkloadThrottler.HandleActiveOrganization(Int32 capacityPerPriority, WorkloadThrottlingInformation orgPollingInfo,
Int32 effectiveMinimumPriority)
at WorkloadThrottler.Execute(Int32 totalCapacity)
at QueueManager.OnSelectTimerEvent(Object sender, ElapsedEventArgs e)
at Timer.InvokeElapsed()
at TimerProcessor.ExecuteTimers(Object data)
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart(Object obj)
>WorkloadThrottlingInformation: ANDSERV08.MSCRMAsyncService.c82f7921-5a5c-4a62-ae5e-969bf61d3919_OnSelect,
{53C1F7E1-E712-44A1-8497-38793A882CE2}, 0, 0, 2000, 0

[2008-07-05 00:00:03.8] Process:CrmAsyncService |Organization:00000000-0000-0000-0000-000000000000 |Thread:


19(MSCRM:-TimerProcessor.ExecuteTimers) |Category: Platform.Sql |User: 00000000-0000-0000-0000-000000000000 |Level: Info |
CrmDbConnection.InternalExecuteReader
at CrmDbConnection.InternalExecuteReader(IDbCommand command)
at CrmDbConnection.ExecuteReader(IDbCommand command, Boolean impersonate)
at CrmDbConnection.ExecuteReader(IDbCommand command)
at DataAccessBase.ExecuteSqlCommandAndProcessRecords(IDbCommand command, RecordProcessor recordProcessor)
at WaitSubscriptionDataAccess.Notify(String hostId, WaitNotificationService waitNotificationService)
at WorkflowHost.OnNotificationTimerEvent(Object sender, ElapsedEventArgs e)
at Timer.InvokeElapsed()
at TimerProcessor.ExecuteTimers(Object data)
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart(Object obj)
>select subscription.WorkflowWaitSubscriptionId, subscription.AsyncOperationId, subscription.EntityName, subscription.EntityId,
subscription.Data
from WorkflowWaitSubscriptionBase subscription
join AsyncOperationBase asyncOperation on subscription.AsyncOperationId = asyncOperation.AsyncOperationId
where asyncOperation.HostId = 'MSCRMAsyncService'
and asyncOperation.StateCode = Locked
and asyncOperation.DeletionStateCode = 0
and subscription.IsModified = 1

[2008-07-05 00:00:05.1] Process:CrmAsyncService |Organization:00000000-0000-0000-0000-000000000000 |Thread:


19(MSCRM:-TimerProcessor.ExecuteTimers) |Category: Platform.Sql |User: 00000000-0000-0000-0000-000000000000 |Level: Info |
CrmDbConnection.InternalExecuteNonQuery
at CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
at CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
at CrmDbConnection.ExecuteNonQuery(IDbCommand command)
at DataAccessSharedBase.ExecuteSqlCommand(IDbCommand command, Nullable`1 expectedAffectedRecords)
at QueueDataAccess.MoveSuspendedToReady()
at QueueManager.<OnMoveSuspendedToReadyTimerEvent>b__1(IQueueDataAccess queueDataAccess)
at QueueManager.ExecuteForAllOrganizations(OrganizationQueueDataAccessHandler handler)
at QueueManager.OnMoveSuspendedToReadyTimerEvent(Object sender, ElapsedEventArgs e)
at Timer.InvokeElapsed()
at TimerProcessor.ExecuteTimers(Object data)
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart(Object obj)
>update AsyncOperationBase
set
StateCode = 0,
StatusCode = 0,
ModifiedOn = DATEADD(MILLISECOND, -1*DATEPART(MILLISECOND, GETUTCDATE()), GETUTCDATE()),
ModifiedBy = CreatedBy
from AsyncOperationBase o1
where
StateCode = 1
and DeletionStateCode = 0
and ((PostponeUntil is NULL) or (PostponeUntil <= GETUTCDATE()))
and ((DependencyToken is NULL) or (not exists (
select *
from AsyncOperationBase o2
where
o2.Sequence < o1.Sequence
and o2.DependencyToken = o1.DependencyToken
and o2.StateCode in (0,2,1) and o2.DeletionStateCode = 0)))

[2008-09-20 04:59:32.4] Process: w3wp |Organization:53c1f7e1-e712-44a1-8497-38793a882ce2 |Thread: 16 |Category:


Platform.Soap |User: fd116f4e-5f9e-4ca9-8a4b-2728b497fae8 |Level: Warning | SoapContext.DumpErrorResponse
at SoapContext.DumpErrorResponse(Stream responseStream, Uri uri, String methodName)
at CrmAuthenticationSoapExtensionBase.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions, Boolean throwOnException)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object
extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>SOAP Request failed:
Url:http://myserver/MSCrmServices/2007/CrmService.asmx
MethodName:Execute
Response:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt;
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt;
Microsoft.Crm.CrmException: Entity Name was not specified in FetchXml String.
at Microsoft.Crm.Query.EntityExpression.InternalFromFetch(String fetchXml, DynamicMetadataCache dynamicCache, Guid
organizationId)
at Microsoft.Crm.Query.EntityExpression.FromFetch(String fetchXml, Guid organizationId)
at Microsoft.Crm.ObjectModel.QueryService.FetchXmlToEntityExpression(String fetchXml, ExecutionContext context)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp; sig,
MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes
methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32
secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth
userAuth, Guid callerId)
at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken
correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth,
Guid callerId)
at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken
originToken, UserAuth userAuth, Guid callerId)
at Microsoft.Crm.Sdk.Crm2007.CrmService.Execute(Request request)
--- End of inner exception stack trace ---</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

[2008-09-20 17:00:44.2] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 9(MSCRM:-


NotificationManager.NotificationWatcherThreadProc) |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level:
Warning | ThreadHelper.ThreadStart_Context
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart()

>Invoking delegate number 0 for eventId netConfigUpdate


[2008-09-20 21:00:48.8] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 3 |Category:
Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmEventLog.WriteEntry
at CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Boolean traceFailure, Object[] values)
at CrmPerformanceCounterFactory.LoadCounters(PerformanceCounterLoadSetting settings, String component)
at BaseAuthenticationProvider..cctor()
at BaseAuthenticationProvider..ctor()
at SoapHeaderAuthenticationProviderBase..ctor()
at CookieAndSoapHeaderAuthenticationProvider..ctor()
at RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached,
RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at Activator.CreateInstance(Type type, Boolean nonPublic)
at BaseAuthenticationSettings.CreateType(String typeName, Type requiredBaseType)
at BaseAuthenticationSettings.CreateProvider(String typeName, IDictionary`2 configuration)
at AuthenticationPipelineSettings.LoadPipeline()
at AuthenticationPipelineSettings.get_AuthenticationProvider()
at AuthenticationEngine.Execute(Object sender, EventArgs e)
at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object
extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Failed to write the following event message to the Event Log.
EventType:Information
EventId=17189
Contents:Authentication
The exception information is:
System.InvalidOperationException: Cannot open log for source 'MSCRMPerfCounters'. You may not have write access. --->
System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at System.Diagnostics.EventLog.OpenForWrite(String currentMachineName)
at System.Diagnostics.EventLog.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings,
Byte[] rawData, 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)

You might also like