插件报的异常,Need to start a transaction before commit
-
Saturday, July 21, 2012 2:56 AM
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Need to start a transaction before commitDetail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220911</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Need to start a transaction before commit</Message>
<Timestamp>2012-07-21T02:54:35.9720447Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>我调试发现,我的插件执行是成功,可是后来加载页面提这个错误
windows live Id :hellohongfu@hotmail.com
- Edited by 王红福 Saturday, July 21, 2012 2:56 AM