unknown error

Aug 23, 2011 at 3:51 PM

installation seems to have gone well, plugin registered properly. When I create new account, nothing happens. When I try to save I get error below:

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: #8F3C2824Detail:
<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: #8F3C2824</Message>
  <Timestamp>2011-08-23T15:47:35.8447563Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText>

[CRM.Plugin.SequenceGenerator: CRM.Plugin.SequenceGenerator.SequenceGenerator]
[ebf90628-9ecd-e011-bc5e-02004c4f4f50: CRM.Plugin.SequenceGenerator.SequenceGenerator: Create of account]


</TraceText>
</OrganizationServiceFault>

Any help would be much appreciated!

Aad 

Sep 30, 2011 at 9:47 PM

The System.Threading dll is missing from the GAC.

Once I commented out the dll reference and the code that uses it I was able to get the solution to work.

Jan 4, 2012 at 2:34 PM

lambda8 can you elaborate on how you made that fix... Im fairly new to plugins, and I dont understand how to comment out the dll reference... im using windows 7.

Much appreciated