Jump to content
We've recently updated our Privacy Statement, available here ×

Preview in Studio returns HttpResponseException


jklueber

Recommended Posts

After creating a report in Studio Professional, when I attempt to Preview the results I get an Access Denied message.  

net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRException: org.apache.http.client.HttpResponseException: 
{"message":"Access is denied","errorCode":"access.denied"}
    at com.jaspersoft.studio.editor.preview.view.control.ReportController.fillReport(ReportController.java:539)
    at com.jaspersoft.studio.editor.preview.view.control.ReportController.access$17(ReportController.java:514)
    at com.jaspersoft.studio.editor.preview.view.control.ReportController$1.run(ReportController.java:432)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

I am logging into Studio with an account that is setup as ROLE_USER.  If I upload the same report to the Server and login with the same user account, I can run the report on the server.

If I give the user ROLE_ADMINISTRATOR, the user can then run the report from Studio.  So I was thinking that this is a Server permission issue.  I have gone through the server and given ROLE_USER Administrator privileges everywhere I can think of (entire system is just in dev currently), but still no joy trying to Preview from Studio.  The datasoure and domain and the root folder are all set to give Administator privs to ROLE_USER.  I have also noticed that when I do give ROLE_ADMINISTRATOR to the user, Studio will not allow the Preview until I have exited Studio and restarted.  Makes me wonder if the issue is not with the Server, but somehow related to how Studio communicates to Server when the user does not have ROLE_ADMINISTRATOR.

 

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...