Jump to content

Error 401 Unauthorized


Mark.Casey

Recommended Posts

Jaspersoft Studio 6.1:  Whenever I try to view the Dataset and Query for a report, it defaults to the wrong server, "JasperReports Server Pro" and gives me an error message 401 Unauthorized.  Then, when I try to change to the actual server I am using with that report, I get the error 401 Unauthorized message then as well, even though the correct fields display in the bottom half of the screen.   It will not let me change to the correct server no matter what.

   We have checked the user profile and it is okay.  

   The server connection using SOAP protocol works fine.  

   I am not on a VPN.  

   I have rebooted.  

   Why would it keep telling me I am unauthorized?

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Select "Source" tab to view jrxml source of your report. Server connection information for a report is set in properties. There should be property "ireport.jasperserver.url" and property "ireport.jasperserver.user". Check if values in these properties are valid.

Link to comment
Share on other sites

  • 2 weeks later...
  • 9 months later...

今天你我也遇到了这个问题,我是这样解决问题的(That's how I solved the problem)

软件版本(Software version):Jaspersoft Studio 6.1

1.点击展开高级设置

1) Left-click to expand the Advanced Settings;

2.勾选HTTP Chunked Requests

2) Enable "HTTP Chunked Requests";

3工作目录选择你自己的项目的 工作目录

3) Workspace Folder select your workspace directory;
 
4测试一下连接,看一下可以了吗?
4) Perform a test connection and see if it works!

 

 

 

Link to comment
Share on other sites

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...