unable to load CRM organization

393 views Asked by At

I can't connect to the V9 on premise env with plugin registration tool, I'm getting the error: Unable to load the CRM organization.

I have searched similar questions but my issue is not similar, stack trace doesn't mention anything releated to the user or to the role.

Can you give me an advice ?

stack trace(details of the error):

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Tools.Libraries.CrmPluginStep.RefreshFromSdkMessageProcessingStep(Guid assemblyId, SdkMessageProcessingStep step, String secureConfig)
at Microsoft.Crm.Tools.Libraries.OrganizationHelper.LoadSteps(CrmOrganization org, Dictionary`2 typeList, Dictionary`2& crmStepList)
at Microsoft.Crm.Tools.PluginRegistration.Helper.<>c__DisplayClass4_0.<OpenConnection>b__0(Object o, DoWorkEventArgs e)
1

There are 1 answers

1
Guido Preite On BEST ANSWER

Because the instance is OnPremise several issues can be the cause why the latest version of the Plugin Registration Tool is not able to connect, main one can be IFD not configured correctly.

In order to connect to the instance a user can:

  • Use the Plugin Registration Tool inside XrmToolBox

or

  • Use a previous version of the Plugin Registration Tool downloading the nuget package and extract it