私はMSCRM2011をWindows Server 2008からWindows Server 2012に移行しています& SQL Serverを2008年から2012年まで、以下の問題に直面しています。同一データベースを使用して組織を2回インポートするとMSCRM2011に問題が発生する可能性がありますか?
- を新しいSQL Server 2012
- 実行組織のインポートに古いSQL Server 2008のからCRM DBのレプリカを作成し、新しいWindows Server 2012の
- にデモ名でCRMをインストールします。私が行っ
手順移行されたDB
しかし、間違って初めてインポートを実行すると、組織名が間違っているため、移行された同じDBにインポートする必要があります。だから私は、同じCRM DB
に二回のインポートを実行してきた。しかし、今、私はまた、一般的なエラーの下になって、新しいユーザーを追加し、エラーの下に得ることに問題に直面しています:
エラー:以下
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.
Detail:
-2147220970
An unexpected error occurred.
2017-08-19T06:57:35.402523Z
をされますイベントビューア:
The Web Service plug-in failed in OrganizationId: 7bece0b8-b36e-424b-9b01-78d604765f62; SdkMessageProcessingStepId: 56f5c774-9ecb-45f2-99c2-8dd57737af6e; EntityName: none; Stage: 30; MessageName: AssociateEntities; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: System.InvalidCastException: Specified cast is not valid.
at Microsoft.Crm.Timeouts.GetExtendedTimeout()
at Microsoft.Crm.ObjectModel.SystemUserBusinessUnitEntityMapUtility.ReInitMapForUsers(Guid[] systemUsers, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TeamServiceInternal`1.ReInitTeamMembers(Guid[] userIds, ReinitMasks reinitMask, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TeamMembershipServiceInternal`1.Associate(BusinessEntityMoniker entityOneMoniker, BusinessEntityMoniker entityTwoMoniker, String associationRelationshipName, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.HandleAssociationOperation(BusinessEntityMoniker entityOneMoniker, BusinessEntityMoniker entityTwoMoniker, String associationRelationshipName, Boolean createAssociation, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.AssociateEntities(BusinessEntityMoniker entityOneMoniker, BusinessEntityMoniker entityTwoMoniker, String associationRelationshipName, ExecutionContext context)
トレース(https://www.pastiebin.com/599da0c5497e6):
Web Service Plug-in failed in SdkMessageProcessingStepId: {56F5C774-9ECB-45F2-99C2-8DD57737AF6E}; EntityName: none; Stage: 30; MessageName: AssociateEntities; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: System.InvalidCastException: Specified cast is not valid.
at Microsoft.Crm.Timeouts.GetExtendedTimeout()
at Microsoft.Crm.ObjectModel.SystemUserBusinessUnitEntityMapUtility.ReInitMapForUsers(Guid[] systemUsers, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TeamServiceInternal`1.ReInitTeamMembers(Guid[] userIds, ReinitMasks reinitMask, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TeamMembershipServiceInternal`1.Associate(BusinessEntityMoniker entityOneMoniker, BusinessEntityMoniker entityTwoMoniker, String associationRelationshipName, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.HandleAssociationOperation(BusinessEntityMoniker entityOneMoniker, BusinessEntityMoniker entityTwoMoniker, String associationRelationshipName, Boolean createAssociation, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.AssociateEntities(BusinessEntityMoniker entityOneMoniker, BusinessEntityMoniker entityTwoMoniker, String associationRelationshipName, ExecutionContext context)
.
エラーログは提供されていますが、非常に汎用的です – user1199036
トレースファイルを有効にしてチェックしてください –
返信いただきありがとうございます。しかしCRMの初心者ですが、必要な場合はどうすればいいのか教えていただけますか? – user1199036