web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to resolve this error.

(0) ShareShare
ReportReport
Posted on by 6

Hello All Expert ,

I am getting below error , can anyone suggest me in resolving this?

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Unexpected exception from plug-in (Execute): PluginProfiler.Plugins.ProfilerPlugin: System.TypeInitializationException: The type initializer for 'PluginProfiler.Plugins.ServiceWrappers.ServiceProviderWrapper' threw an exception.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220956</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Unexpected exception from plug-in (Execute): PluginProfiler.Plugins.ProfilerPlugin: System.TypeInitializationException: The type initializer for 'PluginProfiler.Plugins.ServiceWrappers.ServiceProviderWrapper' threw an exception.</Message>
<Timestamp>2017-05-05T09:13:17.9909935Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>

[PluginProfiler.Plugins: PluginProfiler.Plugins.ProfilerPlugin]
[5c54809b-7231-e711-8106-005056b72bdf: Customer.Background_Check: Update of any Entity (Profiler)]


</TraceText>
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • Verified answer
    EmployeeOcta Profile Picture
    6 on at

    Able to resolve the above issue.

  • Eugen Profile Picture
    70 on at

    How?

    I get this error when I try to call a static method in another class (other than the one containing my Execute method). Both are in the same assembly. If I copy the static ones into my class everything is ok.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans