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)

Unable to automatically step in to the server

(0) ShareShare
ReportReport
Posted on by 383

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

I have the same question (0)
  • Radu Chiribelea Profile Picture
    6,667 on at

    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

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    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.

  • ZeroHar Profile Picture
    383 on at

    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

  • SwathiD Profile Picture
    200 on at

    Hello ZeroHar,

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

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    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
    200 on at

    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"

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