【发布时间】:2014-07-20 03:15:43
【问题描述】:
我有一份 SSRS 报告。该报告在 BIDS 和我上传到 SSRS 服务器时运行良好。当我在 BIDS 中单击导出为 PDF 或 Tiff 时,它只是说 Exporting Please Wait... 如果我尝试使用 SSRS Server/Reports 导出为任何格式,大约需要 10 分钟,然后回来说:
Server Error in '/Reports' Application.
--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Note: Runtime errors are enabled so this is the only error message I can get. I went into the server logs on the SSRS server and this is what I can see that has errors:
library!ReportServer_0-2!804!07/01/2014-10:08:02:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database.;
我已尝试制作新报告并复制项目,但仍然给我同样的问题,所以我真的不知道下一步该尝试什么。请帮忙!
【问题讨论】:
-
你知道报告有多大吗?可能是 SSRS 服务器在尝试保存报告时磁盘空间或内存不足。
-
大约有 64 页,另外,导出到其他格式也可以,只有 PDF 和 TIFF 不行。
-
@Razzle,如果这不是你所说的“报告有多大”的意思,你能告诉我如何找到这个吗?我真的需要帮助,在我看来没有其他人试图帮助我。
-
副手,我唯一能想到的可能是您的 SSRS 会话超时设置不够?默认情况下,超时设置为 120 秒。可能是导出为 PDF 和 TIFF 格式导致超时。
-
您是否在使用报表管理器(相对于 ASP Web 表单上的 ReportViewer 控件)?报告是否包含任何图表或图像?你用的是什么字体?看起来除了 Times New Roman、Arial、Courier 和 Symbol 以外的字体需要通过 SSRS PDF 渲染器以某种方式构建并嵌入到 PDF 中。 (查看 Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter...谢谢您,Reflector。)
标签: reporting-services sql-server-2008-r2