0
votes

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?

3
is it only visibility issue or plugin not working as well? - Scorpion
Good question. Get "Could not load file or assembly" exception where the plugin should be - cja

3 Answers

1
votes

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

0
votes

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.

0
votes

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.