Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Crystal Report for VS2008 error: "The request could not be submitted for background processing"

$
0
0

Hello,

I'm developing with VS2008 and Crystal Report for VS2008.

 

There is a report that includes an image object, which shows a JPG file stored as a blob field in Oracle database.

 

Most of the times that report exports to PDF correctly, but some times returns error:"The request could not be submitted for background processing" and crashes completely CR.

 

I realized that it crashes depending on the JPG file that has to show, but I can't determine what feature of the JPG file is making it to crash.

 

I have already installed this Service Pack but no change at all:

 

Crystal Reports Basic for VS 2008 - Service Pack 1

 

Extract of my code:

 

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


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>