我有一份报告返回大约 90000 行。但是当我将它从 asp.net 页面导出到 excel 时,它给出了这个错误:
在呈现报表期间发生错误
但是同一个报表正在成功地从报表服务器导出到 excel。
如果我从网页传递更多参数以将记录数减少到 100,那么我可以将它从网页本身导出到 excel。
Edit-1
堆栈跟踪:[异常:有关此错误的详细信息,请导航到本地服务器计算机上的报表服务器,或启用远程错误]
[异常:报表呈现期间发生错误。] Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +574 Microsoft.Reporting.WebForms.ServerReport.InternalRender( Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +905 Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension ) +28 Microsoft.Reporting.WebForms.ServerReport.Render(字符串格式,字符串 deviceInfo,NameValueCollection urlAccessParameters,字符串& mimeType,字符串&fileNameExtension)+88 Microsoft.Reporting.WebForms.ServerReportControlSource.RenderReport(字符串格式,字符串 deviceInfo,NameValueCollection AdditionalParams,String& mimeType,String&fileExtension)+123 Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery,HttpResponse 响应)+153 Microsoft .Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +585 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +901 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse 响应) +153 Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +585 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +901 System.Web。 HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse 响应) +153 Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +585 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +901 System.Web。 HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76