CRM 2015: Unable to connect CRM Organizations through Plugin Registration Tool, below is the error I am receiving while connecting..
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at Microsoft.Crm.Tools.Libraries.OrganizationHelper.GetLoggedOnUser(CrmOrganization org)
at Microsoft.Crm.Tools.PluginRegistration.Helper.<>c__DisplayClass5.<OpenConnection>b__1(Object o, DoWorkEventArgs e)
This is happening only with one specific Organization. Additionally I have noticed that enabling Data Encryption also giving error, When I hit on Data Encryption URL it is redirect to Error page and below is the error that I found in EventLog:
Thread ID: 226
Thread account name: DOMAIN\USERNAME
Is impersonating: False
Stack trace: at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Pages.SqlEncryption.SqlEncryptionPage.ConfigureDialog()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Thanks,
Madhu M.