Answered by:
Unable to load the plugin type

Question
-
Hi all,
I'm programmatically registering plugin using the code given in sdk \tools\plugindeveloper
The plugin is registering successfuly and I can see it using plugin Registeration tool.
But when tht plugin is fired i'm getting error as "Unable to load the plugin type"
But if register my plugin using plugin registeration tool it works fine.
Where is the possibilty of error I'm doing?
Error: Unable to load the plugin type: DummyPlugin.DummyPluginError Number: 0x80044190
Error Message: Unable to load the plugin type: DummyPlugin.DummyPlugin
Error Details: Unable to load the plugin type: DummyPlugin.DummyPlugin
Source File: Not available
Line Number: Not available
Request URL: "myserver address"
Stack Trace Info: [TypeLoadException: Could not load type 'DummyPlugin.DummyPlugin' from assembly 'DummyPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f45bf042ce1f8401'.]
at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)"
Dare to promiseThursday, August 20, 2009 10:35 AM
Answers
-
Where are you registering the plugin ? The plugindeveloper tool doesn't register assemblies correctly on Disk.
The resource at http://code.msdn.microsoft.com/crm40pluginbulk includes the fix to register assemblies on Disk
Microsoft CRM MVP - http://mscrmuk.blogspot.com http://www.excitation.co.uk- Marked as answer by DavidJennawayMVP, Moderator Wednesday, September 2, 2009 5:42 PM
Thursday, August 20, 2009 11:16 AMModerator
All replies
-
Where are you registering the plugin ? The plugindeveloper tool doesn't register assemblies correctly on Disk.
The resource at http://code.msdn.microsoft.com/crm40pluginbulk includes the fix to register assemblies on Disk
Microsoft CRM MVP - http://mscrmuk.blogspot.com http://www.excitation.co.uk- Marked as answer by DavidJennawayMVP, Moderator Wednesday, September 2, 2009 5:42 PM
Thursday, August 20, 2009 11:16 AMModerator -
Thanks David for updateing me with latest code.
I got the error. It was in register.xml
Dare to promiseThursday, August 20, 2009 12:07 PM -
print your register.xml out.Thursday, August 20, 2009 3:17 PM
-
Link is brokenWednesday, January 20, 2016 6:13 PM