web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Plugin Registration Tool Stops loading

(0) ShareShare
ReportReport
Posted on by 5

The Plugin Registration tool allows me to select the organization then begins loading but error at Loading Steps with this 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)

I have tried just about everything I found on the internet from changing http to https back and forth on the deployment manager I have update access to "C:\Program Files\Dynamics 365\Server\bin\assembly"
and set Security permission for local group "Users" as "Read and executes".  I have tried just about every configuration, I have tried from the app server, the db server, the jump server, my desktop VPNed into the network and no VPN.  Each time I have made sure I could reach the organization service.  This started as an intermittent issue but has become a roadblock.  I have the latest version of the tool.  The log files and event viwer on the app server the db server and my desktop are of no help.  Turning on tracing for the dynamics server has been no help.  I am hoping someone out there is familiar with the code or this issue. 

  

I have the same question (0)
  • JoeSzyszka Profile Picture
    5 on at

    BTW  I am on version 9.04

  • Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Try removing PRT  folder from appdata location

    carldesouza.com/.../

  • JoeSzyszka Profile Picture
    5 on at

    No it did not work.  I deleted every File with PRT in the name.  When I restarted the tool it created Microsoft CDS Plug-in Registration Tool folder.  Is that part of the problem.  I tried it on my personal desktop and it di the same thing.  Thanks for the help!

  • Ray Profile Picture
    1,537 on at

    I have not meet this issue but I have some thoughts.

    1. I would check all the plugin steps in Odata API, like xxxxxxxxxx/api/data/v9.0/sdkmessageprocessingsteps, to make sure all the data is fine.

    2. Check the Assembly, also with Odata API. like xxxxxxxxxx/api/data/v9.0/pluginassemblies. One more step is to compare the result data with your bin\assembly.

  • JoeSzyszka Profile Picture
    5 on at

    I thought of the Assemblies and steps already in the application so I removed them from a copy of one organization so all I that  is left are the MS standard plugins.  I even removed the ribbon Bar editor. I get the error going to this org.  I used the aPI to do a search to confirm and the plugins are not in this org.  Thanks for taking the time to help.

  • Ray Profile Picture
    1,537 on at

    Sorry about the miss understanding. I mean if you delete the Assemblies from bin\assembly, then some sql record may remain, and when Plugin registration tool query the record, it does not match with bin\assembly. I do not have a on-pre env to test it, so it is base on my guess.

  • JoeSzyszka Profile Picture
    5 on at

    No that did not do it either.  I tried that and I tried going to a new org with no assemblies registered and could not connect.  I have a work around for now.  I can use the tool in the XRMToolKit and it connects my desktop.  I just need to move the assemblies over and load them from there.  My work laptop has security locked and will not allow me to make a connection with the XRMToolkit security level.  Thanks again.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 192 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans