Object reference not set to an instance of an object

Problem:

You are minding your own business and using your Plugin Registration Tool happily.  All of a sudden, you are getting below error when trying to connect to Dynamics 365 (CRM) instance.

Solution:

Delete the contents of the below folder.

This folder includes a file called Default_PluginRegistration.exe.config.  The contents of the file looks something like below.  This includes information of previously connected CRM instances and usernames.  It is possible some settings may have changed due to system updates.  Once you delete the file, Plugin Registration Tool will recreate it with the correct information.

Here’s proof 🙂

https://community.dynamics.com/crm/f/117/p/222787/599910#599910

Thank you for visiting Dyn365Apps.com.

Follow me on Twitter to get the latest news, tips and tricks and more …

Until next time…

[Quick Tip] Plugin Registration Tool Error – Object reference not set to an instance of an object

Leave a Reply