Answered by:
Unable to load the plugin type

Question
-
Hi everyone,
I just updated my plugin assembly using the plugin registration tool and now I get this error when saving a record of the specified entity in CRM.
I am working with CRM 2011.
I Can't even unregister my plugin assembly as it gives me the same error message.
I have registered this plugin in the DB in the past.
I have also done an IIS Reset and restarted the CRM async service.
Does anyone have any ideas on what I need to do?
Wednesday, March 12, 2014 1:18 AM
Answers
-
Hi everyone,
I managed to figure out the problem.
The reason why I was getting the "Unable to Load plugin type" error message because the version of the Microsoft.Xrm.Sdk.dll was incorrect.
Think I used the CRM 2013 sdk when I should have used the CRM 2011 sdk.
Stupid Me.
Many thanks for all the responses.
- Proposed as answer by Anupam Bishui Wednesday, March 12, 2014 5:01 PM
- Marked as answer by davdatong Wednesday, March 12, 2014 5:08 PM
Wednesday, March 12, 2014 4:54 PM
All replies
-
Hi,
Can you please tell us what kind of error you are getting? I assume, you forgot to put the error message in your question.
--
Gopinath
Wednesday, March 12, 2014 5:40 AM -
Hello,
Are you referring any other assembly in your plugin, enable trace it will give you some more details or you check in event viewer if there is any entry.
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.Wednesday, March 12, 2014 7:31 AMModerator -
Hi,
I guess you are registering some other assembly or better is to share the error you are came accross.
Wednesday, March 12, 2014 7:47 AM -
Can you share the stacktrace/error message you get?
Is your user account authorized to register/unregister plugins? In an on-premise deployment this means your account must be a Deployment Administrator in order to be able to register plugins outside of the sandbox.
If this post is an answer or helpful, please do not forget to vote!
Wednesday, March 12, 2014 10:39 AM -
Hi everyone,
I managed to figure out the problem.
The reason why I was getting the "Unable to Load plugin type" error message because the version of the Microsoft.Xrm.Sdk.dll was incorrect.
Think I used the CRM 2013 sdk when I should have used the CRM 2011 sdk.
Stupid Me.
Many thanks for all the responses.
- Proposed as answer by Anupam Bishui Wednesday, March 12, 2014 5:01 PM
- Marked as answer by davdatong Wednesday, March 12, 2014 5:08 PM
Wednesday, March 12, 2014 4:54 PM