Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Visual Studio 2010 connection to Dynamics AX 2012

Posted on by 105

We have a pilot / test environment configured for AX 2012, but when trying to connect to the AOT in Visual Studio 2010 I get an error in the Application Explorer saying "Disconnected from the AOS."

A couple things of note:

1. Our production environment is still AX 4, and consequently my local development AOS is AX 4 and pointed a server (my machine) that's different from the pilot installation for 2012.

2. When configuring the Visual Studio tools for AX 2012, I got an error saying "The AOS <random name> cannot be reached" if I tried to install the tracer tools.

Where / what do I need to configure to get my VS instance to connect the AOT for our pilot environment?

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    RE: Visual Studio 2010 connection to Dynamics AX 2012

    This (already answered) thread wasn't about a crash of Visual Studio, so you seem to have a different problem. Please create a new thread and explain your particular situation there. Don't forget to check event logs and share any finding in your thread.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Visual Studio 2010 connection to Dynamics AX 2012

    Hello,

    The solution didn't worked out for me. When I open Application Explorer, VS closes with AppCrash error.

    Client Configuration: ngrGrv

    DevEnv.exe Target : "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" /AxConfig ngrGrv

    Any solutions.

    Thank you

  • Hamdy Ahmed Profile Picture
    Hamdy Ahmed 5 on at
    RE: Visual Studio 2010 connection to Dynamics AX 2012

    the easy way Set your instance to default instance at dynamics configuration file. and reopen visual studio .

  • Bruce McMillan Profile Picture
    Bruce McMillan 25 on at
    Re: Visual Studio 2010 connection to Dynamics AX 2012

    Hello,

    Excuse the possible silliness of this question. I have a similar sympton in that I can fire up visual studio and I get the same error. I do not have the AX desktop client installed BUT i can use the admin tasks in the control panel to edit a client config and then refresh the WCF settings.

    I can also write WCF service calls into the remote service.

    I am currently targeting a VPC on the contoso domain, but have added myself as a user with the same password in the domain which is why i think i can use the control panel to edit the config.

    B...

  • Sam Clark Profile Picture
    Sam Clark 105 on at
    Re: Visual Studio 2010 connection to Dynamics AX 2012

    Thanks Bill, worked perfectly.

  • Verified answer
    Re: Visual Studio 2010 connection to Dynamics AX 2012

    Hello,

    I believe if you follow the instructions found at this link, it should help you out with your issue.

    msdn.microsoft.com/.../gg889291.aspx

    Best Regards,

    Bill Thompson

    Dynamics AX/Sure Step - Online Support Engineer

    ============================================================

    When responding to posts, please 'Reply to Group' via your newsreader so that

    others may learn and benefit from your issue.

    ============================================================

    This posting is provided 'AS IS' with no warranties, and confers no rights.

    ============================================================

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans