Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM 2011 (Online) Plugin: CommunicationObjectFaultedException

$
0
0

I have a plug-in which I have running in the sandbox in CRM Online. The plug-in is registered asynchronously on the update event for one of my custom entities. I also have another plug-in which will update many of this entity.

At low volumes (up to a hundred items updated or so), everything works fine. I am testing the capabilities of the plug-in to process a large number of entities being updated together. When the first plug-in updates more than about 200 entities the second plug-in starts failing for many of the entities. The details of the failure are as follows:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.ServiceModel.CommunicationObjectFaultedException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E13D505FDetail:
<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.ServiceModel.CommunicationObjectFaultedException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E13D505F</Message>
  <Timestamp>2011-10-28T15:34:58.1605183Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText>
[MyPlugins: MyPlugin]
[1e6eefc4-2efb-e011-9638-00155d34c809: My plug-in]

</TraceText>
</OrganizationServiceFault>

Is there anything I can do about this error? Am I simply overloading CRM as it appears? I would have though that since this is an asynchronous plug-in, CRM would be able to just queue up loads of jobs and process them at its own pace. Also, given that this is running in CRM Online (where one would assume there is some decent kit behind CRM), just over 200 items seems a really low number to fail at.

Any advice would be much appreciated!


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>