Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Plugin Profiler issue - cannot be serialized in Partial trust becuase the property 'ExecutionRetriable' does not have a public getter

Posted on by 15

Hi Team ,

I am facing the below error  for the below scenario : 

Environment :  OnPremise

CRM Version :  Dynamics CRM 2016.

Access : I have System admin and deployment admin role access

System  :  Citrix

Isolation Mode :  None

I have registered the assembly and created the record. Functionality is working fine. I want to try to debug the plugin. 

I have chosen as "Exception".

and set Profiled for the Plugin step.

After that i am trying to create record that time it should be generate Log file, but generating the below error.

unexpected exception from plug-in(Execute): PluginProfiler.Plugins.ProfilePlugin: system.Security.SecurityException: The data contact type 'Microsoft.Xrm.Sdk.OrganizationserviceFault' cannot be serialized in Partial trust becuase the property 'ExecutionRetriable' does not have a public getter

Troubleshoot:  I have done the below trouble shoot , but no luck.

i) uninstall and reinstall profiler.

ii) tried both sandbox/none mode

iii) added runtime.serialization dll

pastedimage1568952417458v1.png

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans