SSRS报告外部图像
SSRS report external image
这是 SSRS 2012 SQL 服务器 11.00.2218
当我在使用 http://i.imgur.com/g3D5jNz.jpg
的报告中有外部图像时,它起作用了。
但是当我使用 file:///\ImageServer\April.jpg
我在 html
上遇到了这个错误
<IMG onerror=this.errored=true; src="" errored="true">
我已经使用了大约 1 年。然后突然停止工作。
我已执行的故障排除步骤但仍未解决问题:
- 检查执行帐户可以访问 \ImageServer\April.jpg 确认执行帐户可以访问 imageServer 和文件 - 完成
- 在报表服务器上卸载防病毒软件然后测试 - 完成
- 重新启动报告服务器 - 完成,但我会再试一次
- 我查看了C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles,没有发现图像相关的错误或任何相关的错误具体报告我运行
我注意到的线索我不知道如何解决
- 当使用 imgur jpg 时,html img src 正在使用一些网络服务 AXD 文件 ReportViewerWebControl.axd。我猜它使用它来调整图像大小或以某种方式转换图像。 conversion/resize期间是否可能发生错误?
能否请您建议如何进一步解决此问题?
其他 Whosebug 用户也有同样的问题。 (不是原来的post。而是答案之一post。)作者:John Fouhy
相同的症状,但我在 John Fouhy 的 post(尚未)
上没有看到相同的错误消息
你试过你链接的例子中的答案了吗? :
- Moved the img folder that has all the gifs from the static content server to the local SSRS machine, which also has a web server
running on it.
- Setup a virtual directory on the default web site in the local SSRS machine SIIS Manager.
- Then I changed the report query to refer to the image in the local SSRS machine, by machine name, like this
http://mylocalssrsmachine/fotwimg/us.gif Voila, it works… or at
least it worked for me.
看来您可能只需要将文件指向您的服务器即可。
SSRS 2012 Charts Not Rendering
解决办法好像和上面的问题一样。安装中的某些内容已损坏
我能够通过 运行 来自 SQL 服务器安装程序的修复操作解决问题。
这是 SSRS 2012 SQL 服务器 11.00.2218
当我在使用 http://i.imgur.com/g3D5jNz.jpg
的报告中有外部图像时,它起作用了。
但是当我使用 file:///\ImageServer\April.jpg
我在 html
<IMG onerror=this.errored=true; src="" errored="true">
我已经使用了大约 1 年。然后突然停止工作。 我已执行的故障排除步骤但仍未解决问题:
- 检查执行帐户可以访问 \ImageServer\April.jpg 确认执行帐户可以访问 imageServer 和文件 - 完成
- 在报表服务器上卸载防病毒软件然后测试 - 完成
- 重新启动报告服务器 - 完成,但我会再试一次
- 我查看了C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles,没有发现图像相关的错误或任何相关的错误具体报告我运行
我注意到的线索我不知道如何解决
- 当使用 imgur jpg 时,html img src 正在使用一些网络服务 AXD 文件 ReportViewerWebControl.axd。我猜它使用它来调整图像大小或以某种方式转换图像。 conversion/resize期间是否可能发生错误?
能否请您建议如何进一步解决此问题?
其他 Whosebug 用户也有同样的问题。 (不是原来的post。而是答案之一post。)作者:John Fouhy 相同的症状,但我在 John Fouhy 的 post(尚未)
上没有看到相同的错误消息你试过你链接的例子中的答案了吗? :
- Moved the img folder that has all the gifs from the static content server to the local SSRS machine, which also has a web server running on it.
- Setup a virtual directory on the default web site in the local SSRS machine SIIS Manager.
- Then I changed the report query to refer to the image in the local SSRS machine, by machine name, like this http://mylocalssrsmachine/fotwimg/us.gif Voila, it works… or at least it worked for me.
看来您可能只需要将文件指向您的服务器即可。
SSRS 2012 Charts Not Rendering
解决办法好像和上面的问题一样。安装中的某些内容已损坏
我能够通过 运行 来自 SQL 服务器安装程序的修复操作解决问题。