【发布时间】:2025-12-04 16:00:01
【问题描述】:
我一直有一个特定的报告无法仅导出到 Excel。我可以毫无问题地导出为 CSV、MHTML、XML、TIFF、Word 和 PDF。该报告是具有 2 个矩阵的极其简单的报告。我能想到的唯一可能导致问题的事情是我如何堆叠列组以将报告设置成行,标题在左侧,而不是标题在顶部的列。在这样的设置中导出到 Excel 是否存在任何已知问题?使用 SQL Server 2012 和报表生成器 3.0。我可以在那里发布任何其他内容,可能有助于解释发生了什么。
我尝试过在 SQL 服务器上转储内存、增加超时限制、重新启动服务器、在另一台服务器上保存和运行报告,以及过去对其他错误有效的许多其他“快速修复”。
下面的堆栈跟踪错误:
[ReportServerException:报表服务器发生内部错误。有关更多详细信息,请参阅错误日志。 (rsInternalError)] Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +1018 Microsoft.Reporting.WebForms.SoapReportExecutionService.Render(AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +1121 Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String 格式, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +425 Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(字符串格式,布尔 allowInternalRenderers,字符串 deviceInfo,NameValueCollection 附加参数,布尔 cacheSecondaryStreamsForHtml,字符串和 mimeType,字符串和文件扩展)+209 Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery,HttpResponse 响应)+219 Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext 上下文)+221 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +586 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177
【问题讨论】:
标签: sql ssrs-2012 reportbuilder3.0