Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Unable to automatically step in to the server

Posted on by 377

HI,

I am trying to do CRUD operations in MS Dynamics 365 Online Free trail using Organization service. I'm trying to connect to the CRM using CrmServiceClient, but i can't .i am getting an error here it is . 

"Unable to automatically step into the server, connecting to the server machine failed. The visual studio 2015 remote debugger(MSVSMON.EXE) does not appear to be running on the remote computer .This may be firewall is preventing communication to the remote computer.please see help for configuring remote debugging".

 i tried to generate early bound classes using crmsvcutil, there also getting error like Unable to log into CRM. I am beginner in coding , please help me friends.

var connectionString = "AuthType=Office365;Username=****@**.onmicrosoft.com; Password=******;Url=https://*****.crm.dynamics.com";

var crmSvc = new CrmServiceClient(connectionString);

using (var serviceProxy = crmSvc.OrganizationServiceProxy)
{
var accountToCreate = new Entity("account");
accountToCreate["name"] = "Cle";

//create an account


var accountGuid = serviceProxy.Create(accountToCreate);

*This post is locked for comments

  • SwathiD Profile Picture
    SwathiD 200 on at
    RE: Unable to automatically step in to the server

    Hello Kokulan,

    This is the error message that I am facing.

       "Unable to automatically step into the server, connecting to the server machine failed. The visual studio 2017 remote debugger(MSVSMON.EXE) does not appear to be running on the remote computer .This may be firewall is

        preventing communication to the remote computer.please see help for configuring remote debugging"

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Unable to automatically step in to the server

    Could you share more detail on the error you are getting please?

    If you would like to have a look at an example using CrmServiceClient on V9, please feel free to copy or download the following example from my github page

    github.com/.../Program.cs

  • SwathiD Profile Picture
    SwathiD 200 on at
    RE: Unable to automatically step in to the server

    Hello ZeroHar,

    I am facing the same issue inspite of updating the assemblies to latest version. Any idea what could be the issue? Thanks

  • ZeroHar Profile Picture
    ZeroHar 377 on at
    RE: Unable to automatically step in to the server

    hi radu,

    thanks for trying to help me. I found the problem, its with my assemblies.after updated to the version 9 its working fine

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Unable to automatically step in to the server

    Seems like you are using CRM Online.

    You cannot attach remote debugger to an assembly that you register on CRM Online.

    You can do it for On-Premise if you install remote debugging tools on the server where CRM web site is installed.

    Here are a couple of blog articles on debugging CRM Online Plugins:

    nishantrana.me/.../debugging-online-plugin-in-crm-2013

    blogmscrm.wordpress.com/.../how-to-debug-microsoft-dynamics-crm-online-plugin-2015

    Hope this helps.

  • Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: Unable to automatically step in to the server

    Hi ZeroHar,

    From the error message, it looks like you are trying to attach Visual Studio to a process?

    Could you please provide more details on what you tried to set up?

    Regards,

    Radu

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans