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)

Assembly does not allow partially trusted callers crm plugin

(0) ShareShare
ReportReport
Posted on by 50

Hello, 

I got some error when i am trying to debug plugin through plugin registration tool.

here is error :

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: That assembly does not allow partially trusted callers.
Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<a:key>CallStack</a:key>
<a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema"> at Tu.Crm.Packages.Plugins.CRM.PostLeadCreate..ctor()</a:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>That assembly does not allow partially trusted callers.</Message>
<Timestamp>2018-03-06T10:36:27.1676969Z</Timestamp>
<InnerFault>
<ErrorCode>0</ErrorCode>
<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />
<Message i:nil="true" />
<Timestamp>0001-01-01T00:00:00</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

Your help in this regard will be highly appreciated!

Thank you

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rajkumar Rajaraman Profile Picture
    on at

    try to register your plugin outside the sandbox (option "None" inside the plugin registration tool window)

  • Verified answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

    Hi Pujan,

    Please check the below link for debugging plugin in dynamics CRM

    community.dynamics.com/.../how-to-use-plugin-profiler-to-debug-plugins-with-plugin-registration-tool-in-crm-2011-2013

    Thanks,

    Shahbaaz

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