Dynamics crm CRM 2013 |插件注册工具错误

Dynamics crm CRM 2013 |插件注册工具错误,dynamics-crm,dynamics-crm-2013,Dynamics Crm,Dynamics Crm 2013,我正在尝试连接到CRM SDK 2013的插件注册工具,但出现此错误 Source : mscorlib Method : HandleReturnMessage Date : 27-Jun-16 Time : 7:56:13 AM Error : The server was unable to process the request due to an internal error. For more information about the error, eithe

我正在尝试连接到CRM SDK 2013的插件注册工具,但出现此错误

Source  : mscorlib
Method  : HandleReturnMessage
Date    : 27-Jun-16
Time    : 7:56:13 AM
Error   : The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Stack Trace : Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
   at Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy.Execute(DiscoveryRequest request)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, Uri homeRealmUri, ClientCredentials clientCredentials, ClientCredentials deviceCredentials)
   at >Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)
来源:mscorlib
方法:HandleReturnMessage
日期:2016年6月27日
时间:上午7:56:13
错误:由于内部错误,服务器无法处理请求。有关错误的详细信息,请在服务器上启用IncludeExceptionDetailInFaults(从ServiceBehaviorAttribute或从配置行为),以便将异常信息发送回客户端,或者根据Microsoft.NET Framework SDK文档启用跟踪,并检查服务器跟踪日志。
堆栈跟踪:服务器堆栈跟踪:
在System.ServiceModel.Channels.ServiceChannel.ThrowiffaultUnderstanding处(消息回复、消息故障、字符串操作、消息版本、故障转换器故障转换器)
位于System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime操作,ProxyRpc&rpc)
在System.ServiceModel.Channels.ServiceChannel.Call(字符串操作、布尔单向、ProxyOperationRuntime操作、对象[]输入、对象[]输出、时间跨度超时)
位于System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage方法调用,ProxyOperationRuntime操作)
位于System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage消息)
在[0]处重试异常:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)
at System.Runtime.Remoting.proxy.RealProxy.PrivateInvoke(MessageData&msgData,Int32类型)
在Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest请求)
在Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy.Execute(DiscoveryRequest请求)
位于Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri、Uri homeRealmUri、ClientCredentials ClientCredentials、ClientCredentials deviceCredentials)
位于>Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)

您能帮助获取mor信息并解决此问题吗?

我也遇到了同样的问题,原因是我们的一个组织sql数据库处于脱机状态

为了修复,您必须首先找出实际的异常是什么。您可以通过启用异常消息中指示的详细错误来实现这一点

下面是一些如何做到这一点的步骤


您是否仔细检查了SDK版本的插件注册工具是否与CRM版本匹配?两者都是2013版本您可以附上连接部分的屏幕截图吗?是在线还是内部部署?如果是onpremise,您是否检查了事件查看器以查看发生了什么?它以前工作过吗?您可以尝试使用另一个CRM用户帐户吗?我的问题还在于该服务器上的另一个组织处于脱机状态。。。我猜这会阻止您连接到同一服务器上的任何服务器。