Wednesday, January 29, 2014

Deploy the default reports AX 2012

1.       Open Microsoft Dynamics AX 2012 Management Shell from Administrative Tools

                     I.                        Click Start > Administrative Tools.
                    II.                        Right-click the Microsoft Dynamics AX 2012 Management Shell option.
                  III.                        Click Run as administrator.

2.       Retrieve a list of the reports that are included with Microsoft Dynamics AX, and store the list in a local variable by entering the following command:

Windows PowerShell
      $reports = Get-AXReport -ReportName *
3.  View the list of reports by entering the following command:

Windows PowerShell
$reports

4.       To deploy all reports, enter the following command:
Windows PowerShell
Publish-AXReport –ReportName *

5.       To deploy two or more specific reports, enter the names of the reports. For example, to deploy the CustTransList and CustTransOpenPerDate reports, enter the following command:
Windows PowerShell
Publish-AXReport -ReportName CustTransList, CustTransOpenPerDate

Error While Installing AX2012 R2

Error:

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)

Solutions:

It's the windows update service is disabled, enable it and error will be resolved.

Thursday, January 23, 2014

AX 2012 R2 Reports Deployment Errors

Case:

You do not have privileges to deploy to server: "Server Name". For deployment, you must have administrative rights to the SQL Server Reporting Services (SSRS) server. Contact your administrator to deploy.

Solutions:

Try the following command while publishing the default reports

For All Reports : "Publish-AXReport -ReportName * -SkipReportServerAdminCheck"

For Single Report : "Publish-AXReport -ReportName CustTransList -SkipReportServerAdminCheck"