Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2016 plugin code bebug issue

(0) ShareShare
ReportReport
Posted on by

hi i have a plugin that has been published and it runs fine. however when i try to debug it doesnt hit the red dot( dot is red without any error or symbols).

I tried adding exceptionthrow and the exception is hit and seems like the code is running but not debugging.

i tried all possible things i found on internet. 

i created a console and the debugger gets hit.

i deployed from debug folder and pdb is included

i attached w3wp and srmasync processes

2016 on prem crm version and VS 2017 latest update applied.

any help is much appreciated. thanks.

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: CRM 2016 plugin code bebug issue

    The error i get trying the registration tool debugging is below. i tried restartind sandbox service and also checked to see if isolation mode is not None, it is None and i am stuck.

    <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic&quot; />

     <Message>The plug-in execution failed because the Sandbox Client encountered an error during initialization.</Message>

     <Timestamp>2018-08-14T04:19:03.3482443Z</Timestamp>

     <InnerFault i:nil="true" />

     <TraceText>

  • Community Member Profile Picture
    on at
    RE: CRM 2016 plugin code bebug issue

    hi Mahender

    I have tried IISreset lots of times and no result.  what else can be the problem? it seems a small issue but stuck because of it.

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: CRM 2016 plugin code bebug issue

    Hi,

    Try to reset IIS, sometime in on premise deployment it helps, otherwise you can try to debug using plugin registration tool, check steps here: http://himbap.com/blog/?p=2469

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans