Crystal Reports 图像在 Web 查看器中不可见 [英] Crystal Reports images not visible in web viewer

查看:14
本文介绍了Crystal Reports 图像在 Web 查看器中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承的应用程序 (.NET 1.1) 中有一些 Crystal Reports (V10),部署在四个相同"环境中.在其中三个环境中,它们运行良好.第四,图表图形在 Web 查看器中不可见.如果您导出报告,它们是可见的.

I have some Crystal Reports (V10) in an application (.NET 1.1) I inherited that is deployed in four "identical" environments. In three of the environments, they are working fine. In the fourth, the chart graphics are not visible in the web viewer. They are visible if you export the reports.

IT 人员发誓所有四种环境中的一切都完全相同,并已将问题转回给我解决.我不知道该怎么做,因为我无法亲自到服务器检查任何东西.但我不明白这怎么可能不是环境问题.

The IT guys swear everything is exactly the same in all four environments and have kicked the problem back to me to solve. I'm not sure how I'm going to do that since I can't get to the servers to check anything for myself. But I don't see how this can NOT be an environment issue.

在我看来,Crystal 具有写入文件和检索文件以呈现报表的导出版本的必要权限,但 ASP WP 在呈现页面时无法访问图形文件.

It seems to me that Crystal has the necessary permissions to write the file and to retrieve it to render the export versions of the report, but the ASP WP can't access the graphic file when the page is rendered.

感谢您可能需要帮助我的任何建议!

Thanks for any suggestions you might have to help me!

分辨率来自 IT 人员:我们必须将 IIS 中 CrystalReportsViewer10 文件夹上的执行权限"从仅脚本"更改为脚本和可执行文件".所有其他站点都只有仅脚本",它们很好."

RESOLUTION From the IT guys: "We had to change the "Execute Permissions" on the CrystalReportsViewer10 folder within IIS from "Scripts only" to "Scripts and executables". All of the other sites have only "Scripts Only" and they’re fine."

推荐答案

需要有一个名为CrystalReportViewers115"之类的 IIS 虚拟目录.我认为版本之间的确切名称会发生​​变化.这需要对您的 ASP.NET 用户可见.开始查看可以工作的环境,看看它们是否安装了这个虚拟目录,并将其与失败环境中的目录进行比较.作为另一项检查,您应该能够将图像的 URL 输入到浏览器中并查看它们.要查找 URL,请右键单击图片并选择属性".例如:
http://localhost/crystalreportviewers/images/toolbar/export.gif
当您直接浏览该 URL 时,您应该会看到该图片.

There needs to be an IIS virtual directory called something like "CrystalReportViewers115". I think that the exact name changes between versions. This needs to be visible to your ASP.NET user. Start looking at the environments that work and see if they have this virtual directory installed, and compare it to the one on the failing environment. As another check, you should be able to enter in the URL for the images into a browser and see them. To find out the URL, right click on the picture and select "Properties". For example:
http://localhost/crystalreportviewers/images/toolbar/export.gif
You should see the picture when you browse directly to the URL.

这篇关于Crystal Reports 图像在 Web 查看器中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆