RE: Unable to connect to a CRM organization with the pluginregistration tool, all versions
I went to look at the Registration tool Logs at the following directory:
C:\Users\username\AppData\Roaming\Microsoft\Microsoft Dynamics© CRM Plug-in Registration Tool
When I opened the latest log I noticed the following on the logs:
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 9/13/2016 12:32:02 AM Created CrmConnectionManager
Microsoft.Xrm.Tooling.CrmConnectControl Error 2 9/13/2016 12:32:02 AM Error Message: LoadConfigFromFile() - Except - fail
Source : System.Configuration
Method : ThrowIfErrors
Date : 9/13/2016
Time : 12:32:02 AM
Error : An error occurred loading a configuration file: Access to the path 'C:\Users\username\AppData\Roaming\Microsoft\PluginRegistration\Default_PluginRegistration.exe.config' is denied. (C:\Users\username\AppData\Roaming\Microsoft\PluginRegistration\Default_PluginRegistration.exe.config)
So I wen to the following directory:
C:\Users\username\AppData\Roaming\Microsoft\PluginRegistration
and deleted the files that were there, these files are created by the Registration tool.
Default_PluginRegistration and
Default_PluginRegistration.exe
Once these files were deleted I started the Plugin Registration Tool again and the connection was successful for all versions.
Apparently these files that I deleted were corrupted.
Hope this helps.