Reputation: 10036
Dynamics CRM 2011 on premise.
We have had a plugin registered for a few months. It was referenced by a solutions in two organisations and I could see it in Solution > Components > Plug-in Assemblies in each organisation.
Yesterday I noticed it was not visible in this view. The Plugin Registration Tool shows it still installed.
I unregistered it using the Plugin Registration Tool and then registered it again but it still isn't visible in the solution that references it in either organisation.
We get a "Could not load file or assembly" exception when the plugin is called.
How can I investigate this?
Upvotes: 0
Views: 344
Reputation: 10036
Ok, I'm not sure why, but it seems to be working again.
I removed all trace of the plugin from both servers and from the orgs and solutions and then added it back and now it seems to be ok.
Is annoying because I don't think I learnt anything and it used a lot of time.
Thanks for your help.
Upvotes: 0
Reputation: 18895
Registering a plugin doesn't put it in a solution. You'll have to add it back manually to whatever solution(s) you want.
Go to Customizations > Solutions > Open your solution you want the plugin added > Plug-in Assembly > Add Existing
. If the dll doesn't show up there, you either didn't register it at all, or registered it for a different org
Upvotes: 1
Reputation: 4585
Go to Customization > Customize the System > Plug-in Assemblies
When you deployed, it might be installed in default solution. You can always add it back to your Solution as @Daryl said.
Upvotes: 0