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)

Plugin Trace Log not working on Dynamics CRM 2016 On-Premise

(1) ShareShare
ReportReport
Posted on by 90

I have set "Enable logging to plug-in trace log" to "All" and I have verified that the setting is updated in the organization entity. The setting is a optionset with a value of 2. My CRM version is (8.0.0.1088) (DB 8.0.0.1088). I have also tried setting the value to "Exception".

However when a plugin executes, exception or not,  nothing is written to the plugin trace log.

Has anyone experienced the same?

Regards.

Marius Solend

*This post is locked for comments

I have the same question (0)
  • ansrikanth Profile Picture
    3,115 on at

    Hi

    You able to figure it out ?I'm also running with the same problem, not pretty sure where i'm going wrong.. Any help any one ??

    Regards

    Srikanth

  • ansrikanth Profile Picture
    3,115 on at

    UPDATE : I can see trace logs coming if I make my plugin run under Sandbox mode. But as per the documentation it should work for full trust and partial trust both plugins..

    Is that a kind of bug in the system ? Any one using it ??

    MS - can you please look at it ... ??

  • Verified answer
    Marius Solend Profile Picture
    90 on at

    Srikant, it's the same for me. When I register the plugin in sandbox, it works.

    It has to be a bug.


    Don't know any way to work around it other than registering the plugin assembly in sandbox.

    Regards.

    Marius

  • ansrikanth Profile Picture
    3,115 on at

    Hi

    Was bit worried as there are some scenarios for me where I can not go for sandbox mode :(..

    Trying to reach out my known MS contacts.. Let me see if I get any clues.. Thanks for the confirmation any ways..

    Regards

    Srikanth

  • JasonMcneil Profile Picture
    215 on at

    Hi there, can't offer any resolution, only that I am also experiencing the same issue. My plugins were upgraded from a previous version of CRM, so I'm not sure if it has to do with that. Might try the sandbox, but won't be able to switch all of them.

  • vsomireddy Profile Picture
    40 on at

    I have same issue plugin tracing, In Sandbox mode it works fine. None mode it does not work.

    for some reason i have keep my plugin in None mode only but not able to trace.

  • Community Member Profile Picture
    on at

    I found the solution and reason here : community.dynamics.com/.../200016

    The sdk dll's in my plugin code (nugget package) did not match my CRM application version and the plugin registration tool version. After a few trail and errors I got the correct match and could trace and profile my plugin in the none mode. In sandbox mode it was also working with the mismatch of sdk dll versions. I've now the same sdk version in the plugin as my CRM installation and for the plugin profiler one version later.

  • ansrikanth Profile Picture
    3,115 on at

    But, that is about Plugin Profiler, but we are talking about Plugin Trace log entity here..

  • Community Member Profile Picture
    on at

    Yes, true, but in combination with the plugin profiler I have now a trace log of my plugin.

    In the Plugin Trace log entity there are now records, it are thought plugin profiler records, but with trace information from my plugin. Not perfectly, but I get some plugin trace information.

  • Community Member Profile Picture
    on at

    Any solution for the plug-in trace log?

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