Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Download Log File Disabled When Plugin Error Occurs

Posted on by 70

We are trying to debug a plugin in Dynamics 365 Online, but when the Business Process Error appears, the download log file button is disabled.  Does anyone know how we can enable the download log file, so we can download the profile and debug the plugin using the Plugin Registration Tool with the Plugin Profiler?

*This post is locked for comments

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Download Log File Disabled When Plugin Error Occurs

    Hi jimfield,

    You don't have to download the log file. If you set the option "Persist to Entity (recommended)" then the session will be stored in the separate entity. You can then while debugging, select the session from that entity-

    Refer this screenshot

    pluginprofile.png

    Hope this helps.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Download Log File Disabled When Plugin Error Occurs

    Hi ,

    Some of the specific error CRM does not allow to save as it does not contain any details error. So I don't think you are facing same behavior for all the plugins  or any generic error from CRM. In this scenario I would suggest try write some trace logs to identify which line causing the issue.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Download Log File Disabled When Plugin Error Occurs

    Hi,

    Make sure you are using updated SDK and following correct steps, you can check this for your reference: www.youtube.com/watch

  • Suggested answer
    Ben Thompson Profile Picture
    Ben Thompson 6,350 on at
    RE: Download Log File Disabled When Plugin Error Occurs

    Double check the steps in docs.microsoft.com/.../analyze-plugin-performance and see if you've missed something...

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans