Crm 4.0ロールアップ14にカスタムワークフローアセンブリがあります。これには約10個のアクティビティがあります。毎回変更するたびに不明なエラーが発生し、更新できません。これは、Crmでワークフローデザイナを参照しようとすると、NullRerferenceExceptionも発生します。Crm 4.0ワークフローアセンブリの更新中に不明なエラーが発生しました
奇妙なことは、このアセンブリにのみ発生し、それを取り外してゼロから再追加すると問題なく動作します。
この
...私が得ることエラーです未処理の例外:System.Web.Services.Protocols.SoapException:サーバーが要求を処理することができませんでした。 詳細:
0x80040216
予期しないエラーが発生しました。 System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeでSystem.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessageメッセージにWebResponse応答、ストリームresponseStream、ブールasyncCall) (文字列methodNameの、オブジェクト[]パラメータで プラットフォームPluginRegistrationTool.PluginRegistrationForm.btnRegister_Click(オブジェクト送信者、EventArgsの電子)
とAT PluginRegistrationTool.RegistrationHelper.RegisterPluginType(CrmOrganization組織、CrmPluginプラグイン) でPluginRegistrationTool.CrmSdk.CrmService.Create(ビジネスエンティティのエンティティ) で) 私はトレースを可能にする私は以下のどこから行くのか誰にも分かりましたか?
トレースログのこの大きなダンプのため申し訳ありませんがオブジェクト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 ExternalMessageDispatcher.Execute(文字列MessageNameに、のInt32 primaryObjectTypeCode、のInt32 secondaryObjectTypeCode、PropertyBagフィールド、CorrelationToken correlationToken、CallerOriginToken originToken、USERAUTH USERAUTH、発信者のGUIDでInternalMessageDispatcher.ExecuteでMessageProcessor.Execute(PipelineExecutionContextコンテキスト) (PipelineExecutionContextコンテキスト) でMessageProcessor.Execute RuntimeMethodHandle._InvokeMethodFast(オブジェクトターゲットでCrmServiceInternal.Create(CrmService.Createに文字列namespaceName、BusinessEntityBaseエンティティ、correlationToken correlationToken、CallerOriginToken originToken、USERAUTH USERAUTH、発信者のGUID) (ビジネスエンティティのエンティティ) で) 、[]引数オブジェクト、SignatureStruct & sig、MethodAttributes methodAttributes、RuntimeTypeHan RuntimeMethodInfo.Invoke(Object obj、BindingFlags invokeAttr、Binderバインダー、Object []パラメーター、CultureInfo(CultureInfo culture、Boolean skipVisibilityChecks) RuntimeMethodInfo.InvokeでLogicalMethodInfo.Invoke(オブジェクトターゲットで培養) 、CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStepでSyncSessionlessHandler.ProcessRequest(のHttpContextコンテキスト) でWebServiceHandler.CoreProcessRequest() で)WebServiceHandler.Invoke() での[]の値をオブジェクト.Execute() 、HttpApplication。ExecuteStep HttpRuntime.ProcessRequestInternalでHttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(コンテキストのHttpContext、AsyncCallback CBと、extraDataオブジェクト) でApplicationStepManager.ResumeSteps(例外エラー) で(IExecutionStepステップ、ブール& completedSynchronously) (HttpWorkerRequest WR) でHttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest WR)ISAPIRuntime.ProcessRequest(のIntPtr ECB、のInt32 iWRType)で
MessageProcessor 'はplugintype' の '作成' メッセージを処理することができません。 [2012-02-29 08:45:50.2]プロセス:w3wp |組織:a9ae572d-fabe-4c6c-9a39-8d8882462a55 |スレッド:21 |カテゴリ:Platform.Sdk |ユーザー:d6ef60ac-4638-de11-ba36-000f1f66b919 |レベル:エラー| CompositeSoapExtensionExceptionHandler.HandleでCompositeSoapExtensionExceptionHandler.Handle (ストリームに、ストリーム例外例外から)(のSoapExtension []拡張ブールthrowOnException)SoapServerProtocol.WriteExceptionで (例外e SoapMessage.RunExtensionsでCrmAuthenticationSoapExtensionBase.ProcessMessage(SOAPMessageのメッセージ) において、 CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.ExecuteでSyncSessionlessHandler.ProcessRequest(のHttpContextコンテキストでWebServiceHandler.CoreProcessRequestでWebServiceHandler.WriteExceptionでストリームのOutputStream) (例外e)WebServiceHandler.Invokeで () () ) () at HttpApplication.ExecuteStep(IExecuti HttpRuntime.ProcessRequestInternalでHttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(コンテキストのHttpContext、AsyncCallback CBと、extraDataオブジェクト) でonStepステップ、ブール& completedSynchronously)ApplicationStepManager.ResumeStepsで (例外エラー) (HttpWorkerRequest WR) のhttpRuntimeました。System.Web.Services.Protocols.SoapException:サーバーが要求を処理できませんでした。CrmSoapExtensionが非CrmExceptionを検出しました - Watsonにレポートが送信されます: System.Web.Services.Protocols.SoapException:サーバーが要求を処理できませんでした。 ---> System.Reflection.TargetInvocationException:例外が呼び出しのターゲットによってスローされました。 ---> System.NullReferenceException:オブジェクト参照がオブジェクトのインスタンスに設定されていません。 Microsoft.Crm.ObjectModel.PluginTypeServiceInternal
1.CheckDuplicateActivityName(String name, ExecutionContext context) at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal
1.ValidateCustomActivity(PluginTypeエンティティのExecutionContextコンテキスト)Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.Createで (IBusinessEntityエンティティのExecutionContextコンテキスト) ---内部例外スタックトレースの終了時 --- System.RuntimeMethodHandle._InvokeMethodFastで (オブジェクトターゲットオブジェクト[]引数、SignatureStruct & SIG、MethodAttributes methodAttributes、RuntimeTypeHandle typeOwner) System.Reflection.RuntimeMethodInfo.Invoke(オブジェクトobj、のBindingFlags invokeAttr、バインダーバインダー、オブジェクト[において]パラメーター、CultureInfo culture、Boolean skipVisibilityChecks)System.Reflection.RuntimeMethodInfo.Invoke(Object obj、BindingFlags、invokeAttr、バインダーバインダー、オブジェクト[]パラメーター)の (CultureInfo culture) System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target、Object [] values) 、Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContextコンテキスト) 、Microsoft.Crm.Extensibility。 Microsoft.Crm.Extensibility.InternalMessageDispatcher.ExecuteでMicrosoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContextコンテキスト)でPluginStep.Execute(PipelineExecutionContextコンテキスト)Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContextコンテキスト)で (PipelineExecutionContextコンテキスト) (Microsoft.Crm.Extensibility.ExternalMessageDispatcher)Microsoft.Crm.Sdk.CrmServiceInternal.Create(文字列namespaceName、BusinessEntityBaseエンティティ、CorrelationToken correlationToken、CallerOriginToken originTokenで(文字列MessageNameに、のInt32 primaryObjectTypeCode、のInt32 secondaryObjectTypeCode、PropertyBagフィールド、CorrelationToken correlationToken、CallerOriginToken originToken、USERAUTH USERAUTH、発信者のGUID) を実行し、 Microsoft.Crm.Sdk.Crm2007.CrmService.CreateでUSERAUTH USERAUTH、のGUID CALLERID) (ビジネスエンティティのエンティティ) ---内部例外スタックトレースの終わり---
[2012-02-29 08: 46:03.7]プロセス:w3wp |組織:a9ae572d-fabe-4c6c-9a39-8d8882462a55 |スレッド:21 |カテゴリ:プラットフォーム|ユーザー:d6ef60ac-4638-de11-ba36-000f1f66b919 | ExternalMessageDispatcher.Execute(文字列MessageNameに、のInt32 primaryObjectTypeCode、のInt32 secondaryObjectTypeCode、PropertyBagフィールド、CorrelationToken correlationToken、CallerOriginToken originToken、USERAUTH USERAUTH、発信者のGUIDでInternalMessageDispatcher.ExecuteでMessageProcessor.Execute(PipelineExecutionContextコンテキスト) (PipelineExecutionContextコンテキスト) でMessageProcessor.Execute RuntimeMethodHandle._InvokeMethodFast(オブジェクトターゲットでCrmServiceInternal.Create(CrmService.Createに文字列namespaceName、BusinessEntityBaseエンティティ、CorrelationToken correlationToken、CallerOriginToken originToken、USERAUTH USERAUTH、発信者のGUID) (ビジネスエンティティのエンティティ) で) 、[]引数オブジェクト、SignatureStruct & sig、MethodAttributes methodAttributes、RuntimeTypeHandle ty (オブジェクトobj、BindingFlags invokeAttr、バインダーバインダー、オブジェクト[]パラメーター、CultureInfoカルチャ、CultureInfoカルチャ、ブールバインダー、ObjectCollection) RuntimeMethodInfo.Invoke(Object obj、BindingFlags invokeAttr、バインダーバインダー、オブジェクト[]パラメーター、CultureInfoカルチャ、ブールskipVisibilityChecks) CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStepでLogicalMethodInfo.Invoke(オブジェクト・ターゲット、WebServiceHandler.CoreProcessRequestでWebServiceHandler.Invokeで[]の値) () オブジェクト() SyncSessionlessHandler.ProcessRequest(のHttpContextコンテキストで) で) 。 HttpApplication.ExecuteStepでExecute() (IExecutionStepステップ、ブール&が同期完了) at ApplicationStepManager.Res ISAPIRuntime.ProcessRequestでHttpRuntime.ProcessRequestNoDemandでHttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequestでumeSteps(例外エラー) (のHttpContextコンテキストは、AsyncCallback CBを、extraData物体)HttpRuntime.ProcessRequestInternalで を(HttpWorkerRequest WR) (HttpWorkerRequest WR) ( IntPtr ecb、Int32 iWRType)
MessageProcessorが 'plugintype'のメッセージ 'Create'を処理できませんでした。 [2012-02-29 08:46:03.7]プロセス:w3wp |組織:a9ae572d-fabe-4c6c-9a39-8d8882462a55 |スレッド:21 |カテゴリ:Platform.Sdk |ユーザー:d6ef60ac-4638-de11-ba36-000f1f66b919 |レベル:エラー| CompositeSoapExtensionExceptionHandler.HandleでCompositeSoapExtensionExceptionHandler.Handle (ストリームに、ストリーム例外例外から)(のSoapExtension []拡張ブールthrowOnException)SoapServerProtocol.WriteExceptionで (例外e SoapMessage.RunExtensionsでCrmAuthenticationSoapExtensionBase.ProcessMessage(SOAPMessageのメッセージ) において、 CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.ExecuteでSyncSessionlessHandler.ProcessRequest(のHttpContextコンテキストでWebServiceHandler.CoreProcessRequestでWebServiceHandler.WriteExceptionでストリームのOutputStream) (例外e)WebServiceHandler.Invokeで () () ) () HttpApplicationの ExecuteStep HttpRuntime.ProcessRequestInternalでHttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(コンテキストのHttpContext、AsyncCallback CBと、extraDataオブジェクト) でApplicationStepManager.ResumeSteps(例外エラー) で(IExecutionStepステップ、ブール& completedSynchronously) (HttpWorkerRequest WR) でHttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest WR)ISAPIRuntime.ProcessRequest(のIntPtr ECB、のInt32 iWRType) CrmSoapExtensionが検出された時 非CrmException - レポートがワトソンに送信されます: System.Web.Services.Protocols.SoapException:サーバーは要求を処理できませんでした。 ---> System.Reflection.TargetInvocationException:例外が呼び出しのターゲットによってスローされました。 ---> System.NullReferenceException:オブジェクト参照がオブジェクトのインスタンスに設定されていません。 Microsoft.Crm.ObjectModel.PluginTypeServiceInternal
1.CheckDuplicateActivityName(String name, ExecutionContext context) at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal
1.ValidateCustomActivity(PluginTypeエンティティのExecutionContextコンテキスト)Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.Createで (IBusinessEntityエンティティのExecutionContextコンテキスト) ---内部例外スタックトレースの終了時 --- System.RuntimeMethodHandle._InvokeMethodFastで (オブジェクトターゲットオブジェクト[]引数、SignatureStruct & SIG、MethodAttributes methodAttributes、RuntimeTypeHandle typeOwner) System.Reflection.RuntimeMethodInfo.Invoke(オブジェクトobj、のBindingFlags invokeAttr、バインダーバインダー、オブジェクト[において]パラメーター、CultureInfo culture、Boolean skipVisibilityChecks)System.Reflection.RuntimeMethodInfo.Invoke(Object obj、BindingFlags、invokeAttr、バインダーバインダー、オブジェクト[]パラメーター)の (CultureInfo culture) System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target、Object [] values) 、Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContextコンテキスト) 、Microsoft.Crm.Extensibility。 Microsoft.Crm.Extensibility.InternalMessageDispatcher.ExecuteでMicrosoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContextコンテキスト)でPluginStep.Execute(PipelineExecutionContextコンテキスト)Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContextコンテキスト)で (PipelineExecutionContextコンテキスト) Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName、Int32 primaryObjectTypeCode、Int32 secondaryObjectTypeCode、PropertyBagフィールド、CorrelationToken correlationToken、Call Microsoft.Crm.Sdk.Crm2007.CrmServiceでMicrosoft.Crm.Sdk.CrmServiceInternal.CreateでerOriginToken originToken、USERAUTH USERAUTH、発信者のGUID) (文字列namespaceName、BusinessEntityBaseエンティティ、CorrelationToken correlationToken、CallerOriginToken originToken、USERAUTH USERAUTH、発信者のGUID) .Create(ビジネスエンティティのエンティティ) ---内部例外スタックトレースの終わり---
おそらく重複したレコードがありますか? – Anwar