11 January 2012

Open Visual Studio with another AX configuration

If you need to start Visual Studio connected to another AOS there are two ways to do this:


  1. Create a shortcut:

    add the/AxConfig command in the Target field:
    "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig NameOfClientConfig
    or
    "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig C:\AX2012ClientConfig\ClientConfig.axc
  2. CommandLine:
  3. you can use the commands as shown above.

05 January 2012

Test Dynamics AX 2012 SSRS Report Server Configuration

To check you're SSRS Configuration open a Microsoft Dynamics AX 2012 Management Shell as an admin and insert the following command:

Test-AXReportServerConfiguration

If you want to run the test against a special ReportServer:

Test-AXReportServerConfiguration -Id ReportServer01

Or to check a special WSDL Port

Test-AXReportServerConfiguration -ServicesAOSName ServerName
-ServicesAOSWSDLPort 8103

04 January 2012

Deploy Dynamics AX 2012 default SSRS reports

If you get the following error message while trying to open a standard report in Dynamics AX 2012:

Error while setting server report parameters. Error message: Das /DynamicsAX/StaticReports/en-US/SalesInvoice.Report-Element wurde nicht gefunden. (rsItemNotFound)


The first thing to check are the reportServer Settings in AX: System administration -> Setup -> Business Inteligence -> Reporting Services -> Report Server


Click Validate Settings to find out if the parameters are set correctly. If this succeeds Ax is set up correct and you'll only have to deploy the AX Reports to the SSRS Server. Therefor you need to open an instance of the Microsoft Dynamics AX 2012 Management Shell (run as Administrator).  
In the PowerShell window you can use the following command:

Publish-AXReport -ReportName * 

or to publish just one Report

Publish-AXReport -ReportName NameOfTheReport 
when having problems with user permissions one solution could be the parameter -skipReportServerAdminCheck.
Microsoft said: Actually the code inside axutil is trying to make a check for the user’s permissions – and it is the check itself that needs higher permissions (it’s looking into Active Directory). So the problem is that the user does not have enough rights to make the check in Active Directory, but they would have enough to actually deploy reports
Publish-AXReport -ReportName NameOfTheReport -skipReportServerAdminCheck

If you want to deploy Reports from the AOT it's recommended to start the AX as an Administrator. 

17 August 2011

AX 2012

I'm collecting useful informations and links about ax 2012 on a new site of this blog.

09 August 2011

Ax 2012 start with development workspace

i just wondered how to start the development workspace of Microsoft Dynamics AX 2012 directly.

Using the commandline flag -development will do the trick:

AX32.exe -development