您好我在CRM 2011中创建新帐户时收到以下错误。请提出任何建议。
由于
未处理的例外:
System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Object reference not set to an instance of an object.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>Object reference not set to an instance of an object.</Message>
<Timestamp>2012-04-02T11:03:57.7288333Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>[AutoNumberGenerator: AutoNumberGenerator.AutoNumberGenerator] [9202e5b5-d848-e111-8920-0050569b0118: AutoNumberGenerator.AutoNumberGenerator: Create of account]
</TraceText>
</OrganizationServiceFault>
答案 0 :(得分:5)
<TraceText>[AutoNumberGenerator: AutoNumberGenerator.AutoNumberGenerator] [9202e5b5-d848-e111-8920-0050569b0118: AutoNumberGenerator.AutoNumberGenerator: Create of account]
上面一行说明有一个名为 AutoNumberGenerator 的插件。 抛出的异常是从这个插件中抛出的。