Hi All,
I'm pretty new to the CRM customization. We have a CRM 2016 on Premise server setup and I am trying to push a plugin using the latest version (9.0.0.9519) of the PRT.
The Plugin Registration Tool is not able to login. On clicking on Login on the PRT, the login popup stays as is. On checking the logs found the below error. Kindly suggest.
PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM ==================================================================================================== PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM START : PluginRegistration, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM VER: 9.0.0.9519 PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM START AT : 5/20/2020 3:48:48 AM PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM ==================================================================================================== Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:48:51 AM Created CrmConnectionManager Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 5/20/2020 3:48:51 AM Failed to get credentials from Windows Vault Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:48:51 AM Use Current User Checkbox State = False Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 5/20/2020 3:48:51 AM Failed to get credentials from Windows Vault Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:48:51 AM Use Current User Checkbox State = False Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:12 AM Use Current User Checkbox State = True Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:13 AM Use Current User Checkbox State = False Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM SetConfigKeyInfo, Key Count = 13 Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Connecting to the Microsoft Common Data Service... Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Using CRM deployment type Prem Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM SSL Connection = False Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Discovery URI is = http://dev3-ecrm1/XRMServices/2011/Discovery.svc Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Initializing connections to Microsoft Common Data Service... Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Connecting to the Microsoft Common Data Service... Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Retrieving organizations from Microsoft Common Data Service... Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:31 AM DiscoverOrganizations - Initializing Discovery Server Object with http://dev3-ecrm1/XRMServices/2011/Discovery.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:31 AM DiscoverOrganizations - attempting to connect to CRM server @ http://dev3-ecrm1/XRMServices/2011/Discovery.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoverOrganizations - created CRM server proxy configuration for http://dev3-ecrm1/XRMServices/2011/Discovery.svc - duration: 00:00:00.6304718 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoverOrganizations - proxy requiring authentication type : ActiveDirectory Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoverOrganizations - service proxy created - total create duration: 00:00:00.6340537 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM DiscoverOrganizations - Discovery Server Get Orgs Call Complete - Elapsed:00:00:00.4345670 Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Found 1 Org(s) Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 5/20/2020 3:49:32 AM DiscoveryServer indicated organization service location = http://dev3-ecrm1//XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Organization Service URI is = http://dev3-ecrm1//XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Validating connection to Microsoft Common Data Service... Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Login Status in Connect is = Validating connection to Microsoft Common Data Service... Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM Initialize CRM connection Started - AuthType: AD Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM Process is bypassed.. OrgDetail object was provided Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoveryServer indicated organization service location = http://dev3-ecrm1//XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM Organization Service URI is = http://dev3-ecrm1//XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Initializing Organization Service Object Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Requesting connection to Organization with CRM Version: 8.2.2.112 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Using ISerivceManagement Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - attempting to connect to CRM server @ http://dev3-ecrm1//XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - created CRM server proxy configuration for http://dev3-ecrm1//XRMServices/2011/Organization.svc - duration: 00:00:00.1812048 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - proxy requiring authentication type : ActiveDirectory Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - service proxy created - total create duration: 00:00:00.1822741 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Proxy created, total elapsed time: 00:00:00.1833776 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM Beginning Validation of CRM Connection. RequestID: 13af7f55-8b92-48ea-ae46-0b8c97b07afe Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Failed to Executed Command - WhoAmIRequest : RequestId=13af7f55-8b92-48ea-ae46-0b8c97b07afe : total duration: 00:00:00.5543452 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Failed to Executed Command - WhoAmIRequest : RequestId=13af7f55-8b92-48ea-ae46-0b8c97b07afe : total duration: 00:00:00.5543452 Source : Not Provided Method : Not Provided Date : 5/20/2020 Time : 3:49:33 AM Error : Failed to Executed Command - WhoAmIRequest : RequestId=13af7f55-8b92-48ea-ae46-0b8c97b07afe : total duration: 00:00:00.5543452 Stack Trace : Not Provided ====================================================================================================================== Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM ************ Exception - Failed to lookup current user Source : mscorlib Method : HandleReturnMessage Date : 5/20/2020 Time : 3:49:33 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 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.IOrganizationService.Execute(OrganizationRequest request) at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request) at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.Execute(OrganizationRequest request) at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetWhoAmIDetails(IOrganizationService crmService, Guid trackingID) ====================================================================================================================== Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Unable to connect to CRM: 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 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. Source : mscorlib Method : HandleReturnMessage Date : 5/20/2020 Time : 3:49:33 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 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 Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetWhoAmIDetails(IOrganizationService crmService, Guid trackingID) at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.InitCRM2011Service() ====================================================================================================================== Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Unable to Login to Dynamics CRM Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Unable to Login to Dynamics CRM Source : Not Provided Method : Not Provided Date : 5/20/2020 Time : 3:49:33 AM Error : Unable to Login to Dynamics CRM Stack Trace : Not Provided ====================================================================================================================== Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:33 AM Login Status in Connect is = Can't connect to Microsoft Common Data Service - .