If you are running multiple
instances of AX on a single environment, you have more than likely gone through
the instructions as per this URL http://technet.microsoft.com/en-us/library/hh389760.aspx.
One of the steps identified in this URL talks about publishing reports using the following AX Powershell command: publish-axreports.
What isn’t perhaps obvious from the examples shown on the Deploy reports to the new Reporting Services Instance [AX 2012] page is – How do I publish reports for a specific AOS instance? (The examples shown is for the default instance)
When you look at the full syntax of the Publish-AxReports powershell command:
You will notice two optional parameters that are of interest, namely:
These two parameters are used to “tell” the Publish-AXReports powershell command, which AOS to connect to when publishing reports.
The syntax used for these two parameters are as follow:
Now that we understand the
syntax, the Publish-AXReports command would look like this:
Publish-AXReport –ReportName * -id AXSSRS –servicesAOSname AXServer –servicesAOSWSDLPort 8102
Note – If you are running the Publish-AxReport command using the –servicesAOSName parameter you’ll also need to specify the –servicesAOSWSDLPort. They are both required to ensure that command executes correctly.
One of the steps identified in this URL talks about publishing reports using the following AX Powershell command: publish-axreports.
What isn’t perhaps obvious from the examples shown on the Deploy reports to the new Reporting Services Instance [AX 2012] page is – How do I publish reports for a specific AOS instance? (The examples shown is for the default instance)
When you look at the full syntax of the Publish-AxReports powershell command:
You will notice two optional parameters that are of interest, namely:
- ServicesAOSName
- ServicesAOSWSDLPort
These two parameters are used to “tell” the Publish-AXReports powershell command, which AOS to connect to when publishing reports.
The syntax used for these two parameters are as follow:
- ServicesAOSName
This
parameter contains the name of the server that runs the AOS instance that you
want to connect to e.g. AXServer
- ServicesAOSWSDLPort
This
parameter contains the WSDL Port number that has been setup for your AOS
instance e.g. 8102
Publish-AXReport –ReportName * -id AXSSRS –servicesAOSname AXServer –servicesAOSWSDLPort 8102
Note – If you are running the Publish-AxReport command using the –servicesAOSName parameter you’ll also need to specify the –servicesAOSWSDLPort. They are both required to ensure that command executes correctly.
1 comment:
I am trying to deploy some of the standard ax 2012 r3 report, i am getting http 503 service unavailable error,
There are thousand of report, i am able to deploy but some selected report, i am trying to deploy, i am getting error of service unavailable - 503
It is very amazing, I have number of customer, i never got this kind of error in the past.
Please help me to come out of this issue.
Your prompt reply very much welcome
Post a Comment