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)

CRM Error -2146233088?! What is this?

(0) ShareShare
ReportReport
Posted on by 1,421

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>00000000-5309-4e2b-9375-0000000000</ActivityId>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:int">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:int">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>An unexpected error occurred.</Message>
<Timestamp>2018-05-28T04:15:20.2956588Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource>PluginExecution</ExceptionSource>
<InnerFault i:nil="true" />
<OriginalException>Microsoft.Xrm.Sdk.InvalidPluginExecutionException
at ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration.PostUpdate(LocalPluginContext localContext)
at ABC.Org.CRM.PluginBase.Plugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.&lt;&gt;c__DisplayClass8.&lt;Execute&gt;b__1()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)
at Microsoft.Crm.Sandbox.SandboxWorker.Execute(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, SandboxRequestCounter&amp; workerCounter, Boolean returnTraceInfo)</OriginalException>
<TraceText>
Entered ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration.Execute(), Correlation Id: 0000000-8d92-4102-999c-0000000000, Initiating User: 000d0000-00e0-e000-8000-386300360c40
ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration is firing for Entity: opportunity, Message: Update, Correlation Id: 0000000-8d92-4102-999c-0000000000, Initiating User: 000d0000-00e0-e000-8000-386300360c40
Exiting ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration.Execute(), Correlation Id: 0000000-8d92-4102-999c-0000000000, Initiating User: 000d0000-00e0-e000-8000-386300360c40
</TraceText>
</OrganizationServiceFault>

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Crm.Sandbox.ISandboxHost.ExecuteAndReturnTraceInfo(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, String assemblyContents, Boolean returnTraceInfo)
at Microsoft.Crm.Sandbox.SandboxPlugin.Execute(SandboxClient client, SandboxCallTracker callTracker, IExecutionContext requestContext, String assemblyContents, Boolean returnTraceInfo)
at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Marjorie Ruiz,

    Take a look into these links :

    0160.error.png

    https://msdn.microsoft.com/en-in/library/gg328182.aspx

    [View:https://community.dynamics.com/crm/f/117/t/120680:750:50]

    [View:https://social.microsoft.com/Forums/en-US/068030e2-0d6d-4cf9-b970-ad423f4d86cd/error-on-trying-to-create-any-entity?forum=crm:750:50]

    [View:https://social.microsoft.com/Forums/en-US/068030e2-0d6d-4cf9-b970-ad423f4d86cd/error-on-trying-to-create-any-entity?forum=crm:750:50]

    Hope this helps.

    Regards,

    Soumya

    If found useful, please mark the answer as verified.

  • Suggested answer
    unizap Profile Picture
    on at

    Hi,

    The error is generating from plugin - "ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration.PostUpdate"

    Analyze the plugin with the trace text in your error details:

    <TraceText>

    Entered ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration.Execute(), Correlation Id: 0000000-8d92-4102-999c-0000000000, Initiating User: 000d0000-00e0-e000-8000-386300360c40

    ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration is firing for Entity: opportunity, Message: Update, Correlation Id: 0000000-8d92-4102-999c-0000000000, Initiating User: 000d0000-00e0-e000-8000-386300360c40

    Exiting ABC.Org.CRM.Plugins.FieldService.SampleEntityIntegration.Execute(), Correlation Id: 0000000-8d92-4102-999c-0000000000, Initiating User: 000d0000-00e0-e000-8000-386300360c40

    </TraceText>

    You can disable the plugin step to see if you still get any error. Most probably you will not get any error after disabling the plugin.

  • MRVIX Profile Picture
    1,421 on at

    Thanks everyone for your help!

    I'll try Mayank's suggestion, I'll update the tracing. I'll update you guys if there are updates.

    Just to add to the information, this error was fixed without us doing any updates to fix it. We're thinking if the MS updates has something to do with that issue.

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