Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Attach to Process... error: "Unable to attach to the process. The connection with the remote endpoint was terminated." - Visual Studio 2015 enterprise edition in MS CRM 2016 Online

Posted on by

 I am getting this error below while attaching a process "PluginRegistration.exe" to debug the plugin in VS 2015.

Errror.JPG

Any Suggestions?

Thanks,

Rahul

*This post is locked for comments

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: Attach to Process... error: "Unable to attach to the process. The connection with the remote endpoint was terminated." - Visual Studio 2015 enterprise edition in MS CRM 2016 Online

    Hi Rahul7101 MS Dynamics,

    If you are trying to attach to "PluginRegistration.exe" I am assuming that you are using PluginProfiler?

    Please see below link for instructions on how to use PluginProfiler.

    http://www.engagesoftware.com/blog/post/4242/how-to-debug-a-plugin-in-dynamics-crm-2015-online

    As a first step, close everything and restart your PC.

    The follow the steps in the link.

    Cheers,

    Nadeeja

    If the answer solves your problem, please mark as Verified. Thanks.

    My Blog: http://dyn365apps.com/ - Follow me on Twitter: https://twitter.com/dyn365apps

    LinkedIn: https://www.linkedin.com/in/nadeeja

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Attach to Process... error: "Unable to attach to the process. The connection with the remote endpoint was terminated." - Visual Studio 2015 enterprise edition in MS CRM 2016 Online

    The 2 most likely issues are:

    1. The error indicates you're using remote debugging. If so, check the remote debugger is running with sufficient privileges, and that any firewalls are configured to let the debugging traffic through
    2. From the screenshot, it looks like you're might be trying to attach to the PluginRegistrationTool.exe. You should attach to appropriate CRM process - see https://msdn.microsoft.com/en-us/library/gg328574.aspx

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