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)

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

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    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

  • Community Member Profile Picture
    on at

    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.

  • Community Member Profile Picture
    on at

    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>

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