AX 2012 RDLC Report Deployment Error

Hi

When we try to deploy the RDLC report from Visual Studio 2010,Its giving the error as

Error 2 An error occurred : Access is denied.

If User Account Control (UAC) is enabled on the machine, close the application, right-click the application, and then click Run as administrator. C:\Program Files\MSBuild\Microsoft\DynamicsTools\Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets 466

Error 3 The deployment was aborted. You do not have privileges to deploy to server: xxxx. For deployment, you must have administrative rights to the SQL Server Reporting Services (SSRS) server. Contact your administrator to deploy. C:\Program Files\MSBuild\Microsoft\DynamicsTools\Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets 466

Can anyone pls. suggest a solution ?

You need to make sure that the Visual Studio instance is opening up as Administrator and that you are also passing the correct configuration with the parameter " /AxConfig " on the target of the Visual Studio shortcut. To make sure you are running as admin you right click on the shortcut, select properties, select advanced, then run as administrator. You may also set this on the compatibility tab o the Privilege Level.