14 Juni 2012 0:16
I was really excited to give the new plugin profiler a test drive, but not getting very far...
CRM 2011, Update Rollup 8, OnPremise
From the Plugin Registration tool,
- I can "Install Profiler" just fine.
- I can "Profile" the desired step just fine.
I then cause the plugin to fire.
The plugin is a Post Retrieve on Contact
But, enstead of getting a dialog box where I can download the profile, The UI just generates a big fat ugly red "404 - File or directory not found"
If I look into the server's CRM trace files, I can see that it threw the exception, and has what I'm assuming to be an encoded version of the profile in it:
>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E4623E47: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: Download the details and load with Plug-in Profiler.
But that exception never surfaces to the browser. I have even tried on a browser on the CRM server itself with the same error results.
14 Juni 2012 7:45
Not sure if it is helpful but we were having the same issue trying to use the plugin profiler with the retrieve operations. It works great for update, create or delete operations but not for retrieve (at least for us), it would be great to see if someone have a workaround for the retrieve. What I can suggest is register the plugin on the update operation so you can debug it if you can adapt the code for that.
14 Juni 2012 23:34
I have filed a bug report on this.
Please vote for it.
14 Juni 2012 23:36
I did, please update this thread if you hear back from connect.