Figure 1 - SSRS Permissions error
Replication of the error: Trying to run any SSRS report within AXAbout the error: This is actually not AX specific. It is with permissions on the SSRS site. The user may need to be granted access to get to the SSRS reports or it could be an issue with a setting.
Resolution: Some things to check to resolve the issue
1. Navigate to the Report Manager url (http://SSRSREPORTSERVERNAME/Reports/Pages/Folder.aspx), go to the Folder Settings and click on 'New Role Assignment'. Add the appropriate user or group. Make sure they have access to 'Browser. Content Manager, and DynamicsAXBrowser'.
Figure 2 - Adding a role assignment to SSRS
2. IIS: Check to make sure the Reports virtual directory is NOT set to allow anonymous access on the properties (VirtDir > Properties > Security). The Visual Studio ReportsServer virtual directory defaults to deny anonymous access.
3. Check Windows User Account Control (UAC) restrictions.
4. Go here for more information: http://msdn2.microsoft.com/en-us/library/aa337471.aspx
This is really helpful and saved lot of my time
ReplyDeletehi
ReplyDelete//IIS: Check to make sure the Reports virtual directory is NOT set to allow anonymous access on the properties (VirtDir > Properties > Security). The Visual Studio ReportsServer virtual directory defaults to deny anonymous access.
i cant find any reports folder in iss
This is great, thanks! What UAC rights are needed? I've found that if a user is an administrator they can run reports. If any other group (users, power users, the 5 SQLServer groups, etc) they cannot run reports. I don't want to make all my users administrators though.
ReplyDeleteRyan, hopefully users other than admins can run reports. I can definitely see your hesitation to giving everyone access as admins in your environment. For some reason I have a vision of a a bunch of kids in a pinata themed birthday party at a china shop going wild... Call me crazy...
DeleteI'm not entirely sure about UAC rights for very specific setup. Speaking conceptually, users should be able to access reports from an AX link or URL link/shortcut as only SSRS 'user' permissions (not power users, admins, etc). You should be able to lock them down quite sufficiently. I'd need more info to be able to help you further on this one.
As a next step however, I would check your security as a whole first, starting with hardening the report server. Have you had a user in question try to run a very specific report (via just a URL) from within the SSRS machine not as an admin?
Cheers thank you.
ReplyDeleteIf you are still getting the error for documents like Packing Slip, Invoice, etc... make sure to add Role Assignment to the StaticReports folder also. Looks like this folder doesn't inherit rights from Dynamics Ax folder.
ReplyDeleteAdding the user to the StaticReports folder solves the issue. Thanks!
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThank you, it saved me again
ReplyDeleteGlad it helped Steve!!
Delete