Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Reports deployment issue in Dynamics AX 2012

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I an trying to deploy reports from AOT (Dynamics AX 2012 Pre Release). The follwoing two errors challenging me. any help would be great.

1. An error occurred : The specified directory service attribute or value does not exist.

If User Account Control (UAC) is enabled on the machine, close the application, right-click the application, and then click Run as administrator.

I Have already disabled UAC and even run the AX as administrator mode. Nothing works.
-------------------------
2. The deployment was aborted. You do not have privileges to deploy to server: bwircadbridge. For deployment, you must have administrative rights to the SQL Server Reporting Services (SSRS) server. Contact your administrator to deploy.

I have checked the domain account; and it is already having admin group. but nothing works.

Any help would be great.

*This post is locked for comments

  • Suggested answer
    RE: Reports deployment issue in Dynamics AX 2012

    On SSRS Server, Go to Computer Managemant > Local Users and Group > Group > Administrator > Properties and add username here.

    It works for me....

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Reports deployment issue in Dynamics AX 2012

    Hi Girard, Thanks a lot, your answer was precise and worked perfectly immediately.

  • Wajahat Mirza Profile Picture
    Wajahat Mirza 252 on at
    RE: Reports deployment issue in Dynamics AX 2012

    After giving appropriate permissions and starting "RemoteRegistry" service, issue has been resolved.

    Thanks.

  • Waqas Ahmed Profile Picture
    Waqas Ahmed 10 on at
    RE: Reports deployment issue in Dynamics AX 2012

    Thanks Girard.

    Remote Registry worked for me also

  • Suggested answer
    RM-22040759-0 Profile Picture
    RM-22040759-0 2,014 on at
    RE: Reports deployment issue in Dynamics AX 2012

    Dear all,

    Recently I used one more solution for this issue and it is going for me.

    Issue:

    When I open the ax client run as administrator everything is fine.

    But in my case, the developers are trying to open the AX client with CUS layer configurations (using newly created AXC file) getting the error.If they tried to open the newly created config file run as administrator, AX is opening in USR layer.

    Solution: I have copied the newly created AXC file path location and pasted in a client shortcut and applied.

    Now when I open the AX client shortcut file run as administrator, the ax is opening in CUS layer and able to deploy the reports as well without any errors.

    How to modify the AXCLIENT shortcut file?

    Select AX client shortcut file --> Right and properties --> click on the target (Add the newly created AXC file path after giving one space and apply.


    Regards ,

    Ravi Theja Madisetty

    https://techguns.wordpress.com

  • Suggested answer
    RM-22040759-0 Profile Picture
    RM-22040759-0 2,014 on at
    RE: Reports deployment issue in Dynamics AX 2012

    Dear FRANCISCO SILVA ,

    Your solution worked for me. I am so exited to know around the route cause of the issue. If possible explain the same.

    Regards

    Ravi Theja Madisetty

  • dasla Profile Picture
    dasla 10 on at
    RE: Reports deployment issue in Dynamics AX 2012

    Hi. thanks for this suggestion. This is exactly what I wish to implement (ie. by NOT giving developers local Admin perms on the SSRS server), but please can you explain more detail about what you mean by #2read access on the domain root" and where this needs to be applied?

    I got the dev to try deploying report from axutil with the -SkipReportServerAdminCheck switch as per your link, but he still gets access denied error, so this is my last hope

    Thanks

    Darren

  • RE: Reports deployment issue in Dynamics AX 2012

    thanks for solution

  • Suggested answer
    Andy Adamak Profile Picture
    Andy Adamak 4,070 on at
    RE: Reports deployment issue in Dynamics AX 2012

    After a lot of digging I finally found the answer to this.  If you're using an updated version that adds the "-SkipReportServerAdminCheck" (as described by fsilva-jr above) parameter and that works but deploying from the AOT doesn't, your problem is probably that described here:

    http://blogs.msdn.com/b/axsupport/archive/2012/11/20/you-may-run-into-a-problem-when-you-can-only-deploy-reports-when-you-are-a-domain-admin.aspx

    I contacted our AD Administrator and he was able to deploy from the AOT in a test environment.  So, we knew it was a permissions thing as described in the link.  Turns out AX wanted authenticated users to have read access on the domain root.  See attached image. Once these permissions were checked for 'Everyone' I was able to deploy again.



  • fsilva-jr Profile Picture
    fsilva-jr 20 on at
    RE: Reports deployment issue in Dynamics AX 2012

    Try to execute the command as following:

    "Publish - AXReport -ReportName * -SkipReportServerAdminCheck"

    Remember to change the report name as necessary!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans