Asked by:
Exception when performing the operation in Microsoft Dynamics CRM that causes the plug-in to run.

Question
-
Hi All,
When I perform the operation to trigger the plugin(for debugging) I am getting the following exception,
Business Process Error Unexpected exception from plug-in (Execute): PluginProfiler.Plugins.ProfilerPlugin: System.TypeInitializationException: The type initializer for 'PluginProfiler.Plugins.ServiceWrappers.ServiceProviderWrapper' threw an exception.
I could not find any online help. Can any one help me to resolve this issue.
Thanks in advance.
Thanks
Vikram
Saturday, November 23, 2013 12:43 PM
All replies
-
Hi,
Please try to use latest plugin registration tool.
http://www.microsoft.com/en-us/download/details.aspx?id=24004
Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
Vikram !Saturday, November 23, 2013 2:00 PM -
Thanks Vikram for reply. I am actually using the latest SDK.Saturday, November 23, 2013 2:20 PM
-
If you are working with On-premise, you could also debug your plugin without Plugin registration tool.
Please check the following links
http://gustafwesterlund.blogspot.com/2011/05/debugging-sandboxed-plugins.html
http://erikpool.blogspot.com/2011/02/crm-2011-plug-in-tips-and-tricks-part-1.html
Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
Vikram !Saturday, November 23, 2013 2:27 PM -
Thanks for the reply Vikram. I am using Online CRM.Saturday, November 23, 2013 5:15 PM
-
try to re-install profiler with different version of plugin registration tool.
Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
Vikram !- Edited by _Vikram Sunday, November 24, 2013 2:03 AM
Sunday, November 24, 2013 2:03 AM