web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support:

(0) ShareShare
ReportReport
Posted on by 40

This is a custom workflow and it has been failed. When I look into the process session and I found these details. Can anyone explain me about this?

Plugin Trace:

[Microsoft.Crm.Workflow: Microsoft.Crm.Workflow.Activities.ConditionSequence]
[ConditionStep1]

Error Message:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #58479CDFDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #58479CDF</Message>
<Timestamp>2017-05-19T20:04:39.7156532Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>[Microsoft.Crm.Workflow: Microsoft.Crm.Workflow.Activities.ConditionSequence]
[ConditionStep1]
</TraceText>
</OrganizationServiceFault>
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Create(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)
at Microsoft.Crm.Extensibility.InprocessServiceProxy.CreateCore(Entity entity)
at Microsoft.Crm.Workflow.WorkflowLogSdkPersistentStrategy.Create(Entity log)
at Microsoft.Crm.Workflow.WorkflowContext.CreateWorkflowLog(String activityName, String stepName, String description)
at Microsoft.Crm.Workflow.Services.ActivityServiceBase.CreateLog(String activityName, String stepName, String description)
at Microsoft.Crm.Workflow.Services.ActivityServiceBase.CreateLog(Activity activity)
at Microsoft.Crm.Workflow.Services.ConditionActivityService.Execute(NativeActivityContext executionContext, ConditionSequence conditionSequence, Variable`1 executionPointer)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Emre GULCAN Profile Picture
    2,379 on at

    Hi,

    I think you should enable tracing for more details.

    You can do with Diagnostic Tool (you can download it here crmdiagtool2011.codeplex.com) and also watch/read your logs after you get this exception. You need Trace Reader (crmtracereader.codeplex.com) to read logs

  • Suggested answer
    BadrinathB Profile Picture
    970 on at

    This is a generic error code and occurs due to multiple reasons. Check your custom workflow code carefully. Equivalent hex error code number is 0x80040216. I guess exception is thrown from custom workflow.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans