简体   繁体   English

在JasperReports Server中创建临时报告时,为什么会出现“拒绝访问”错误?

[英]Why error “Access Denied” when creating a adhoc report in JasperReports Server?

When adding new users to the JasperReports Server (v6.2), everything works fine. 将新用户添加到JasperReports Server(v6.2)时,一切正常。

The new user 新用户

  • can use predefined adhoc reports 可以使用预定义的临时报告
  • can use predefined reports 可以使用预定义的报告
  • is able to change predefined reports 能够更改预定义的报告

But if the user tries to create a new adhoc report, he gets an error Access is denied . 但是,如果用户尝试创建新的临时报告, Access is denied收到一条错误消息,“ Access is denied Unfortunately the error message (it is a very long log) doesn't show to which component or folder the access is denied. 不幸的是,错误消息(这是一个很长的日志)没有显示拒绝访问哪个组件或文件夹。

What I tried so far: 到目前为止我尝试过的是:

  • Recreating the user 重新创建用户
  • Changing rights for the Domain (tried Read-Only / Execute-Only ) 更改Domain权限(尝试Read-Only Execute-Only
  • Checked folder structure if rights are set correctly (they appear to be correct) 检查权限是否正确设置(似乎正确)的文件夹结构

What am I missing? 我想念什么?

Turns out there has been a change in the required rights for the Data Source from version 6.0.x on (comment from here ): 事实证明,从6.0.x版开始, Data Source的必需权限发生了变化( 来自此处的评论):

Appears to be a regression in 6.0.1 and at least a Read-Only permission on a Data Source is now required, while Execute-Only was sufficient in 5.5. 在6.0.1中似乎是回归,现在至少需要对数据源具有只读权限,而在5.5中仅执行就足够了。

The adhoc creation works without a problem now. 即兴创作现在可以正常工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么JasperReports Server显示空报告? - Why JasperReports Server shows empty report? JasperReports服务器上的报表部署 - Report deployment on JasperReports Server JasperReports Server:如果报表中没有可用数据,如何解决错误? - JasperReports Server: How to fix error if no data available in report? 在JasperReports Server中运行iReport设计的报表时出错(PostgreSQL) - error running iReport designed report in JasperReports Server (postgresql) 直接在JasperReports服务器上打印报告 - Print Report directly on JasperReports Server 尝试使用Java打印JasperReports报告时,尝试再次查看该报告时,Tomcat Apache Server关闭 - On trying to print JasperReports report using Java, the Tomcat Apache Server is shutting down when trying to view the report again 通过Java代码使用JasperReports创建PDF报告时出现Unicode问题 - Unicode issue when creating PDF report using JasperReports via Java code JasperReports API。 在报告中使用图像时出现错误:net.sf.jasperreports.engine.JRException:在以下位置找不到字节数据 - JasperReports API. Getting error when using Image in report: net.sf.jasperreports.engine.JRException: Byte data not found at 使用JasperReports Server将报告导出为XHTML格式 - Export report to XHTML format with JasperReports Server 如何在 JasperReports Server 中生成本地化报告? - How to generate localized report in JasperReports Server?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM