AX 2012 - Deploy Report in Visual Studio for One Environment with more report server

AX 2012 - Deploy Report in Visual Studio for One Environment with more report server

This question is not answered

Hi everybody,

I have a Physical Machine  with 3 aos:

-01 - PreProduction Environment Aos: linked with the report Server http://siteOfReportServer/ReportServer

-02 - Live Enviroment Aos: linked with the report Server http://siteOfReportServer/ReportServer_AX02

-03 - Test Environment Aos: linked with the report Server http://siteOfReportServer/ReportServer_AX03

I open and modify the PuchPurchaseOrder with visual studio for the AOT 03 (test Environment). the Aot is correct.

The problem is that:

When I do the deploy by right click on the project, Visual Studio show, in the Output window, some messages that write the information about a wrong server report...(the information about server report for PreProduction environment)...

I don't know where and how can I specify to VS that it must take the information of Test Environment for deploy the report for Test.

Now I deploy my report with Microsoft Dynamics Ax 2012  Management Shell ...  with  ...  Publish-AXReport -ReportName PurchPurchaseOrder -ServicesAOSName DXXXXXNN - ServicesAOSWSDLPort 8103

It'is the right thing to do?

Best Regards

M.

 

All Replies
  • check your business connector where its pointing to and don't use acx file while deploying the reports.

  • Did you find a solution to this?  I'm running into a similar problem.  However specifying the correct environment in PowerShell doesn't fix it.  The report gets deployed to the proper environment, but fails with a "The 'AX_CompanyName' parameter is missing a value " error when I try to run it.

    I confirmed that the business connector for my session is pointing to the correct environment.  Not sure where else to look.