我正在開發VS2008和VS2008的Crystal Report。VS2008 Crystal Report報錯:「請求無法提交後臺處理」
存在包含圖像對象的報告,該圖像對象在Oracle數據庫中顯示作爲Blob字段存儲的JPG文件。
大部分正確報告出口到PDF的時代,但有些時候會返回錯誤:和崩潰完全CR「的請求無法爲後臺處理提交」。
我意識到,它崩潰取決於有顯示JPG文件,但我不能確定什麼特徵的JPG文件是使其崩潰。
我已經安裝了此Service Pack,但都沒有變化:
的Crystal Reports Basic的VS 2008 - 服務包我的代碼1
提取物:
Try
Dim oRpt As New cr_my_report
oRpt.SetDataSource(dt) ' dt is a datatable filled from an Oracle database query
Dim exportOpts As ExportOptions = oRpt.ExportOptions
oRpt.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
oRpt.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
oRpt.ExportOptions.DestinationOptions = New DiskFileDestinationOptions
CType(oRpt.ExportOptions.DestinationOptions, DiskFileDestinationOptions).DiskFileName = Server.MapPath("../Temp/" + PDFName)
oRpt.Export() ' here it crashes
Catch ex As Exception
Finally
oRpt.Close()
oRpt.Dispose()
End Try
[間歇性的Crystal Reports錯誤「的請求不能提交後臺處理。」]的(http://stackoverflow.com/questions/2181255/intermittent-crystal-reports-error-the-request-could可能重複 - 不是待提交換backg) – 2013-03-23 00:19:23