I was getting an error when I ran a workflow today. I had created a workflow which automatically converted an incoming email to a support quote into a Case and emailed back the person to notify them their email had been received and was being looked into.
I was sure CRM could do this functionanity but had never actually done it.
The workflow was being triggered when the email came in, the return email was firing but the case was erroring and not being created.
Workflow paused due to error: Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.TypeInitializationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #1B235E4DDetail:
<OrganizationServiceFault xmlns:i=”http://www.w3.org/2001/XMLSchema-instance” xmlns=”http://schemas.microsoft.com/xrm/2011/Contracts”>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1=”http://schemas.datacontract.org/2004/07/System.Collections.Generic” />
<Message>System.TypeInitializationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #1B235E4D</Message>
<Timestamp>2011-11-23T17:10:17.6087901Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1=”http://schemas.datacontract.org/2004/07/System.Collections.Generic” />
<Message>System.UnauthorizedAccessException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4E51CD6F</Message>
<Timestamp>2011-11-23T17:10:17.6087901Z</Timestamp>
<InnerFault i:nil=”true” />
<TraceText i:nil=”true” />
</InnerFault>
<TraceText i:nil=”true” />
I had a look at the tracing problems and figured out a plugin was being run. This plugin had been upgraded from CRM 4 to CRM 2011. When I disabled the plugin then I could create a Case entity without any problems.
so if you get any errors like this in CRM 2011 then have a look to see if any plugins or workflows which have been upgraded from CRM 4 are running in the background.
i have same problem…. what is solving method ?
LikeLike
The problem I had was the workflow or plugin automatically upgraded from CRM 4 didn’t work in CRM 2011.
I had disable the plugin/workflow and manually add it into CRM 2011
LikeLike
For what it’s worth I had a very similar problem today and found your blog, but the cause of my issue seemed to be a custom parameter used by one of our solutions. Hopefully my article can help those like me who come across your blog –
LikeLike