Reports Deployment errors in Ax 2012

Dear All

I installed Ax2012 reporting services successfully.but i am unable to deploy the reports

Below error comes

Importing AxUtilLib
Importing AxUtilLib.PowerShell
Importing Microsoft.Dynamics.Administration
Importing Microsoft.Dynamics.AX.Framework.Management
PS C:\Windows\system32> Publish-AXReport -ReportName CustTransList, CustTransOpe
nPerDate
Deploying reports and related artifacts.

AOSName : 01@XXXXXX
ConfigurationId : XXXXXXXX-LTMSSQLSERVER
Description :
Default : True
ReportServerFolder : DynamicsAX
ReportServerName : XXXXXXXX
ReportServerInstanceName : MSSQLSERVER
ReportServerManagerUrl : http://XXXXXXX/Reports
ReportServerWebServiceUrl : http://XXXXXX/ReportServer

Publish-AXReport : An error occurred : The network path was not found.
If User Account Control (UAC) is enabled on the machine, close the application,
right-click the application, and then click Run as administrator.
At line:1 char:17
+ Publish-AXReport <<<< -ReportName CustTransList, CustTransOpenPerDate
+ CategoryInfo : InvalidOperation: (Microsoft.Dynam…erConfigura
tion:VerifyReportServerConfiguration) [Publish-AXReport], InvalidOperation
Exception
+ FullyQualifiedErrorId : An error occurred : The network path was not fou
nd.
If User Account Control (UAC) is enabled on the machine, close the applica
tion, right-click the application, and then click Run as administrator.,Mi
crosoft.Dynamics.AX.Framework.Management.Reports.PublishReportCommand

Publish-AXReport : The deployment was aborted. You do not have privileges to de
ploy to server: XXXXXXXX. For deployment, you must have administrative ri
ghts to the SQL Server Reporting Services (SSRS) server. Contact your administr
ator to deploy.
At line:1 char:17
+ Publish-AXReport <<<< -ReportName CustTransList, CustTransOpenPerDate
+ CategoryInfo : NotSpecified: (Microsoft.Dynam…ReportsDeployer
:ReportsDeployer) [Publish-AXReport], SecurityException
+ FullyQualifiedErrorId : The deployment was aborted. You do not have priv
ileges to deploy to server: XXXXXXX. For deployment, you must have
administrative rights to the SQL Server Reporting Services (SSRS) server.
Contact your administrator to deploy.,Microsoft.Dynamics.AX.Framework.Mana
gement.Reports.PublishReportCommand

Deployment completed.

I checked the UAC it is disable.and run the power shell as an administrator.but i faced the same error

Hi, can you deploy directly from AOT? (Right click on any SSRS report and click “Deploy”).

Hi Jains,

Thanks for replay.

I did as you said the below error comes

An error occurred : The network path was not found.
If User Account Control (UAC) is enabled on the machine, close the application, right-click the application, and then click Run as administrator.

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

So, now you’ve got a more clear error message. You have insufficient rights on SSRS server.

Open the SSRS Report Manager link and check if you have publisher rights.

http://msdn.microsoft.com/en-us/library/aa337491(v=sql.105).aspx

Janis

Hi Jains,

Thanks for quick replay.

But i already done these steps.

You probably have insufficient rights on SSRS machine. Could you make your self as a local admin there for a while and then try deployment again?

Can you try adding user as admin on the server where SSRS is installed?

https://community.dynamics.com/product/ax/f/33/t/57652.aspx refer this link

Dear All

Try the following command while publishing the default reports

For All Reports : “Publish - AXReport -ReportName * -SkipReportServerAdminCheck”

For Single Report : “Publish -AXReport -ReportName CustTransList -SkipReportServerAdminCheck”

I got the same error when I tired to deploy an ssrs report directly from AX2012. All what I had to do is to add my user account to the local machine Admin group and was able to deploy without errors.