Search code examples
visual-studioreporting-servicesreportaxaptadynamics-ax-2012

Edit SSRS report within Dynamics AX 2012 TEST environment


Ok so in the LIVE instance of AX - I go to the AOT, find my report, right click edit. This then launches VS and I can edit the report. However in the TEST environment I cannot do the same. " Unable to connect to the AOS specified in the Microsoft Dynamics AX Client Configuration".

How to I point the TEST environment to VS? I've checked the config file but nothing obvious there.

Thanks in advance.


Solution

  • See how to Open Visual Studio with a Specific Configuration.

    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.

    In order to start VS for a specific change the VS shortcut target to point to correct configuration:

    "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig ContosoDev
    

    or

    "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig z:\Config\ContosoDev.axc
    

    This will not work from the AOT of cause, VS will then use the current configuration.