How to Open Visual Studio with a Specific Configuration AX 2012.
How to connect Visual Studio 2010 connection to Dynamics AX 2012.
Errors: \”Disconnected from the AOS\”
Solution:
You can configure Visual Studio to open with a specific Microsoft Dynamics AX client configuration.
This causes Application Explorer to point to the designated configuration.
A configuration is a group of startup settings that are used by a client.
For more information, see Manage a client configuration
To open a specific configuration, you use the /AxConfig switch with a parameter of either a configuration name
or the path and file name of a configuration file (.axc file).
If your configuration name or configuration file name contains spaces, be sure to enclose the parameter in quotes.
If no parameter is specified, then the default configuration is used.
If you are working with reports, the Visual Studio integration uses the active local client configuration
to establish the connection. Examples that require a Reporting Services configuration include deploying a
report or selecting a query as a data source. To point to the correct AOS in this scenario,
create a copy of the configuration file in the Visual Studio integration folder.
Advice: If you point Visual Studio to an invalid configuration or a configuration that has been deleted and then try and open it, Visual Studio will open but the Application Explorer pane will display the message AOS Disconnected.
This topic shows you how to configure Visual Studio to open with a client configuration
from a shortcut or from the command line. It also describes how to set the configuration
for Microsoft Dynamics AX reporting scenarios.
Prerequisites
To complete this scenario you will need:
- Microsoft Dynamics AX with Visual Studio Tools installed
- Visual Studio 2010
- At least one Microsoft Dynamics AX client configuration