Quantcast
Channel: CRM Development Forum
Viewing all articles
Browse latest Browse all 888

Unhandled Exception: System.InvalidOperationException: The plug-in type "AccountDemo.AccEntity" does not exist in the specified assembly.

$
0
0

Hi All,

My plugin is 4.0 plug in and migrated to CRM 2011. I have tried using sample plug in code (creates an account enity with random account number) provided in 2011 SDK for profiling and it worked. So far, it looks like profiing has only worked with that sample plugin built with crm.sdk 5.0 version.

I need to debug a plugin built with 4.0 sdk. For some reason, remote debugging is not working as we are  using Windows 7 Enterprise as Virtual Machine. I can attached to the process, but my breakpoint never hits. and also I am able to create the steps for only pre-operations.I wanted to try with profiing, but it is not working either in my case. I was able to get encrypted error detail file only for the test plugin that came in crm 2011 sdk. For all of my plugins, it gives me the same error detail file as above.

I followed the below link to debug.

http://guruprasadcrm.blogspot.in/2011/11/how-to-debug-crm-2011-online-plugin.html

And I am getting the below error while I click on the "Start Plug-in Execution" debug of Plug-in registration tool-MS CRM 2011.

Unhandled Exception: System.InvalidOperationException: The plug-in type "AccountDemo.AccEntity" does not exist in the specified assembly.

   at PluginProfiler.Library.PluginAppDomainProxy.InitializeProxy(String assemblyFilePath, String typeName, String logFilePath)
   at PluginProfiler.Library.PluginAppDomainProxy.InitializeProxy(String assemblyFilePath, String typeName, String logFilePath)
    at PluginProfiler.Library.PluginAppDomainProxy.CreateProxy(AppDomain domain, PluginConfiguration configuration, IList`1 trustedAssemblies)
   at PluginProfiler.Library.ProfilerExecutionEngine.Execute(ProfilerExecutionConfiguration configuration)
   at PluginProfiler.Library.ProfilerExecutionUtility.Execute(PluginPermissions permissions, ProfilerExecutionConfiguration configuration)
   at PluginProfiler.Library.ProfilerExecutionUtility.Execute(PluginPermissions permissions, PluginConfiguration plugin, ProfilerReportingConfiguration reporting, OrganizationServiceProxy administratorProxy, ITracingService tracing)
   at PluginRegistrationTool.DebugPluginForm.ExecutePluginButton_Click(Object sender, EventArgs e) in M:\MS CRM\MS CRM 2011 Tools\sdk\tools\pluginregistration\DebugPluginForm.cs:line 132

Any help greatly appriciated!!

Thanks,

Srikanth Reddy



Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>