Asked by:
Unexpected error when plugin triggered.

Question
-
Please can any one help me for this error message
I have one plugin. its trigger when some field update. and my profiler is activated in plugin I want to get the error msg for debug in plugin when i trigger this plugin "Unexpected error" comes again and again. Erreotext file is:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.TypeLoadException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #72D65ECEDetail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>System.TypeLoadException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #72D65ECE</Message>
<Timestamp>2015-02-24T10:58:49.0184997Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>[PluginProfiler.Plugins: PluginProfiler.Plugins.ProfilerPlugin]
[e9150b0a-14bc-e411-bea7-bc5ff4e0291b: UnSyncNotes.Class1: Update of new_mmm_loginset (Profiler)]
</TraceText>
</OrganizationServiceFault>
Rajnikant
Tuesday, February 24, 2015 11:08 AM
All replies
-
Put your code here
Regards Faisal
- Edited by Faisal Fiaz Tuesday, February 24, 2015 11:16 AM
Tuesday, February 24, 2015 11:16 AM -
I think there is no problem with plugin code, and i tested yesterday it was working properly, from today morning it is showing this "Unexpected Error" message,.,
your suggestion are helpfull to me,.,
thanku,.,
Rajnikant
Tuesday, February 24, 2015 11:25 AM -
Hi Raj,
You can try debugging your code.
Deepak Jangra
Tuesday, February 24, 2015 1:19 PM -
Have you change .Net Framework version?
https://community.dynamics.com/crm/f/117/t/120553.aspx
Has this plugin been upgraded from crm 4?Regards Faisal
Tuesday, February 24, 2015 2:47 PM -
Hello Faisal sir,
No, I did not change framework version. I'm using Ver 4.5. and neither upgrade from CRM4.0
In message their words are: Contact to MS Dynamic crm customer support or MS Dynamic CRM administrator
Rajnikant
Tuesday, February 24, 2015 3:56 PM