Dynamics crm Crm 4.0更新工作流程序集时出现未知错误

Dynamics crm Crm 4.0更新工作流程序集时出现未知错误,dynamics-crm,crm,dynamics-crm-4,workflow-activity,Dynamics Crm,Crm,Dynamics Crm 4,Workflow Activity,我在Crm 4.0 Roll up 14中有自定义工作流程序集,其中包含大约10个活动,每次更改时都会出现未知错误,无法更新。当尝试浏览到Crm中的工作流设计器时,这也会导致NullReReferenceException 奇怪的是,它只发生在这个程序集上,如果我删除它并从头重新添加它,它就可以正常工作 这是我得到的错误 未处理的异常:System.Web.Services.Protocols.SoapException:服务器无法处理请求。 详情: 0x80040216 发生意外错误。 站台

我在Crm 4.0 Roll up 14中有自定义工作流程序集,其中包含大约10个活动,每次更改时都会出现未知错误,无法更新。当尝试浏览到Crm中的工作流设计器时,这也会导致NullReReferenceException

奇怪的是,它只发生在这个程序集上,如果我删除它并从头重新添加它,它就可以正常工作

这是我得到的错误

未处理的异常:System.Web.Services.Protocols.SoapException:服务器无法处理请求。 详情:
0x80040216
发生意外错误。 站台 位于System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage消息、WebResponse响应、Stream responseStream、Boolean异步调用) 位于System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName,Object[]参数) 位于PluginRegistrationTool.CrmSdk.CrmService.Create(BusinessEntity) 在PluginRegistrationTool.RegistrationHelper.RegisterPluginType(CrmOrganization组织,CrmPlugin插件)上 在PluginRegistrationTool.PluginRegistrationForm.btnRegister\点击(对象发送者,事件参数e)

当我启用跟踪时,我得到了下面的错误,有人知道从这里走到哪里吗

很抱歉有这么多跟踪日志

当对象id需要单个属性时,无法检索引用的属性:{45D0F927-5258-E111-AD6A-000C2954073E} [2012-02-29 08:45:50.1]流程:w3wp |组织:a9ae572d-fabe-4c6c-9a39-8d8882462a55 |线程:21 |类别:平台|用户:d6ef60ac-4638-de11-ba36-000f1f66b919 |级别:错误|消息处理器。执行 在MessageProcessor.Execute(PipelineExecutionContext) 在InternalMessageDispatcher.Execute(PipelineExecutionContext上下文) 在ExternalMessageDispatcher.Execute(字符串messageName、Int32 primaryObjectTypeCode、Int32 secondaryObjectTypeCode、PropertyBag字段、CorrelationToken CorrelationToken、CallerOriginToken OrigingToken、UserAuth UserAuth、Guid callerId) 在CrmServiceInternal.Create(字符串名称空间名称、BusinessEntityBase实体、CorrelationToken CorrelationToken、CallerOriginToken OrigingToken、UserAuth UserAuth、Guid callerId) 在CrmService.Create(BusinessEntity) 在RuntimeMethodHandle.\u InvokeMethodFast(对象目标、对象[]参数、SignatureStruct&sig、MethodAttributes方法属性、RuntimeTypeHandle类型所有者) 在RuntimeMethodInfo.Invoke(对象obj、BindingFlags invokeAttr、绑定器绑定器、对象[]参数、CultureInfo区域性、布尔skipVisibilityChecks) 在RuntimeMethodInfo.Invoke(对象对象obj、BindingFlags invokeAttr、绑定器Binder、对象[]参数、CultureInfo区域性) 在LogicalMethodInfo.Invoke(对象目标,对象[]值) 在WebServiceHandler.Invoke()上 在WebServiceHandler.CoreProcessRequest()上 在SyncSessionlessHandler.ProcessRequest处(HttpContext上下文) 在CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()处 在HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成) 在ApplicationStepManager.ResumeSteps(异常错误) 在HttpApplication.System.Web.IHTTPassynchandler.BeginProcessRequest(HttpContext上下文、AsyncCallback cb、对象外部数据) 在HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) 在HttpRuntime.ProcessRequestNoDemand处(HttpWorkerRequest wr) 在ISAPIRuntime.ProcessRequest(IntPtr ecb,Int32 iWRType)

MessageProcessor无法处理“插件类型”的消息“创建”。 [2012-02-29 08:45:50.2]流程:w3wp |组织:a9ae572d-fabe-4c6c-9a39-8d8882462a55 |线程:21 |类别:平台.Sdk |用户:d6ef60ac-4638-de11-ba36-000f1f66b919 |级别:错误| CompositeSoapExtensionExceptionHandler.句柄 位于CompositeSoapExtensionExceptionHandler.Handle(流到、流自、异常) 在CrmAuthenticationSoapExtensionBase.ProcessMessage(SoapMessage消息)上 在SoapMessage.RunExtensions(SoapExtension[]扩展,布尔throwOnException) 在SoapServerProtocol.WriteException(异常e,流输出流) 在WebServiceHandler.WriteException处(异常e) 在WebServiceHandler.Invoke()上 在WebServiceHandler.CoreProcessRequest()上 在SyncSessionlessHandler.ProcessRequest处(HttpContext上下文) 在CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()处 在HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成) 在ApplicationStepManager.ResumeSteps(异常错误) 在HttpApplication.System.Web.IHTTPassynchandler.BeginProcessRequest(HttpContext上下文、AsyncCallback cb、对象外部数据) 在HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) 在HttpRuntime.ProcessRequestNoDemand处(HttpWorkerRequest wr) 在ISAPIRuntime.ProcessRequest(IntPtr ecb,Int32 iWRType) CrmSoapExtension检测到非CRMEException-报告将发送给Watson: System.Web.Services.Protocols.SoapException:服务器无法处理请求。-->System.Reflection.TargetInvocationException:调用的目标已引发异常。-->System.NullReferenceException:对象引用未设置为对象的实例。 在Microsoft.Crm.ObjectModel.PluginTypeServiceInternal
1.CheckDuplicateActivityName(字符串名称,ExecutionContext上下文)
在Microsoft.Crm.ObjectModel.PluginTypeServiceInternal上
1.ValidateCustomActivity(PluginType实体、ExecutionContext上下文) 位于Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.Create(IBusinessEntity实体,ExecutionContext上下文) ---内部异常堆栈跟踪的结束--- 在System.RuntimeMethodHandle.\u InvokeMethodFast(对象目标,对象[]参数,SignatureStruct&sig,MethodAttribute
select name, * from plugintype