A quick example of troubleshooting one form of "Access is denied" when running a Jaspersoft Report.
Steps to Reproduce the Error
The server has encountered an error. Please excuse the inconvenience.
Access is denied
The following Knowledge Document TEC1519137 had been consulted and the two causes it listed ruled out:
What are the minimum access right(s) required for a CA PPM resource to view jaspersoft Reports?
1) Hovering with the mouse over the report, gave the path to where it was located, which was in:
This was same for both users.
2) Right click and "Export" the non-working Report, AND a working one for the end user that was in the same location and right below it.
This creates two Zip files in your Downloads folder. You may rename each zip export for clarity.
3) Open up both Exports and Review for differences.
As per the screenshot, after everything was compared, there was a key difference.
The Administrator had an extra ad_hoc component under their person "users" folder, which was missing from the "shared" folder. See screenshot.
ResolutionMoving this "Custom_Resource_and_Project_OBS_files" from the "users" folder to the "shared" folder allowed everyone with the current right to view this Report to also run it.
This was confirmed by the user.
I hope that this little walk-through may be useful to someone.
Thanks Kyle_R for sharing the tip. The Access Denied is because of the way permission is set up at the folder as well as on the report instance too. So moving to different folder can help one customer but not a generic solution.
Also we recommend not to touch put of box roles provided in Jaspersoft rather create your own role and manage permissions.