发生sql server错误。再试一次这个动作

时间:2012-11-20 06:15:05

标签: dynamics-crm dynamics-crm-2011

我是CRM 2011本地安装。当工作流(自定义和crm工作流)尝试在Account实体中创建注释时,发生错误。当我检查工作流程状态时,它显示“正在等待”并显示以下错误消息。

“发生了SQL Server错误。再次尝试此操作。如果问题仍然存在,请检查Microsoft Dynamics CRM社区以获取解决方案,或与您组织的Microsoft Dynamics CRM管理员联系。最后,您可以联系Microsoft支持部门“

由于错误导致工作流暂停:未处理的异常:System.ServiceModel.FaultException`1 [[Microsoft.Xrm.Sdk.OrganizationServiceFault,Microsoft.Xrm.Sdk,Version = 5.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35]] :通用SQL错误。详细信息:

-2147204784

通用SQL错误。

2012-10-25T11:11:01.2064949Z

<ErrorCode>-2147204784</ErrorCode>

<ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />

<Message>Generic SQL error.</Message>

<Timestamp>2012-10-25T11:11:01.2064949Z</Timestamp>

<InnerFault>

  <ErrorCode>-2147220970</ErrorCode>

  <ErrorDetails xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />

  <Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #6F1D18EA</Message>

  <Timestamp>2012-10-25T11:11:01.207495Z</Timestamp>

  <InnerFault i:nil="true" />

  <TraceText i:nil="true" />

</InnerFault>

<TraceText i:nil="true" />

at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.RetrieveMultiple(QueryBase query,CorrelationToken correlationToken,CallerOriginToken callerOriginToken,WebServiceType serviceType)

at Microsoft.Crm.Extensibility.InprocessServiceProxy.RetrieveMultipleCore(QueryBase query)

at Microsoft.Crm.Workflow.RegardingObjectUtility.CreateLookup(String entityName,Guid entityId)

at Microsoft.Crm.Workflow.WorkflowContextBase.SetStepRegardingRecord(String entityName,Guid entityId)

at Microsoft.Crm.Workflow.Services.UpdateActivityService。&lt;&gt; c_ DisplayClass1.b _0(IOrganizationService sdkService)

at Microsoft.Crm.Workflow.Services.ActivityServiceBase.ExecuteInTransactedContext(ActivityDelegate activityDelegate)

at Microsoft.Crm.Workflow.Services.UpdateActivityService.UpdateInternal(Entity entity,String stepId)

at Microsoft.Crm.Workflow.Services.UpdateActivityService.ExecuteInternal(ActivityContext executionContext,UpdateEntity updateEntity)

at Microsoft.Crm.Workflow.Services.UpdateActivityService.Execute(ActivityContext executionContext,UpdateEntity updateEntity)

在System.Activities.CodeActivity.InternalExecute(ActivityInstance实例,ActivityExecutor执行器,BookmarkManager bookmarkManager)

at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,BookmarkManager bookmarkManager,Location resultLocation)

我也查了踪迹。

请建议,

由于

基兰

1 个答案:

答案 0 :(得分:2)

启用跟踪(using this tool easiest)并查看异步服务的结果跟踪文件(不记得文件名,但在某处会有“异步”)。这应该会给你一些额外的细节。

您的系统上是否注册了任何插件(特别是针对AccountAnnotation(注释)实体?