我有一個返回大約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