Skip to main content

Notifications

Announcements

No record found.

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. 

  

  • JoeSzyszka Profile Picture
    JoeSzyszka 5 on at
    RE: Plugin Registration Tool Stops loading

    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.  

  • Ray Profile Picture
    Ray 1,480 on at
    RE: Plugin Registration Tool Stops loading

    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
    JoeSzyszka 5 on at
    RE: Plugin Registration Tool Stops loading

    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
    Ray 1,480 on at
    RE: Plugin Registration Tool Stops loading

    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
    JoeSzyszka 5 on at
    RE: Plugin Registration Tool Stops loading

    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!

  • Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Plugin Registration Tool Stops loading

    Hi,

    Try removing PRT  folder from appdata location

    carldesouza.com/.../

  • JoeSzyszka Profile Picture
    JoeSzyszka 5 on at
    RE: Plugin Registration Tool Stops loading

    BTW  I am on version 9.04

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans