我有一个返回大约90000行的报告。但是,当我将它从asp.net页面导出为excel时,它会给出此错误:
报告呈现期间发生错误
但是同一报告从报告服务器成功导出为excel。
如果我从网页传递更多参数以将记录数减少到100,那么我可以将它从网页本身导出为excel。将ssrs 2008报告导出为excel时出错
编辑-1
堆栈跟踪: [例外:有关此错误的详细信息导航到报表服务器的本地服务器计算机上,或启用远程错误]
[例外:发生错误呈现报表的过程中。] Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(布尔isAbortable,字符串URL,流的OutputStream,字符串& mime类型,字符串& fileNameExtension)574 Microsoft.Reporting.WebForms.ServerReport.InternalRender(布尔isAbortable ,字符串格式,圣环deviceInfo,NameValueCollection中urlAccessParameters,流reportStream,字符串& mime类型,字符串& fileNameExtension)905 Microsoft.Reporting.WebForms.ServerReport.Render(字符串格式,字符串deviceInfo,NameValueCollection中urlAccessParameters,流reportStream,字符串& mime类型,字符串& fileNameExtension) 28 Microsoft.Reporting.WebForms.ServerReport.Render(字符串格式,字符串deviceInfo,NameValueCollection中urlAccessParameters,字符串& mime类型,字符串& fileNameExtension)88 Microsoft.Reporting.WebForms.ServerReportControlSource.RenderReport(字符串格式,字符串deviceInfo,NameValueCollection中additionalParams,字符串& mimeType,字符串& fileExtension)123 Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection中urlQuery,HttpResponse对象响应)153 Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext的上下文中)585 System.Web.CallHandlerExecutionStep.System.Web .HttpApplication.IExecutionStep.Execute()901 System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔& completedSynchronously)76
但是,报表服务器上还有另一个报表返回5倍多的行并将其成功导出到excel。 – Surinder 2013-02-11 12:23:12
哇。这个人有更多的专栏或更复杂的查询吗? – glh 2013-02-11 20:08:25
他们有相同的列数。我改变了一个参数来增加行数。 – Surinder 2013-02-12 06:20:24