Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

ExportToHttpResponse() throughs win32 Exception in W3WP.EXE

$
0
0
 
same report exports well in all other format,, like pdf, word,...
 
 Public Shared Sub Export(reportFile As String, ds As DataSet, page As Page, reportTitle As String, exportFormat As ExportFormatType)        Dim reportDocument As New ReportDocument()        Dim response As HttpResponse = page.Response               Try            ' Load Report            reportDocument.Load(reportFile)            ' Set data source             reportDocument.SetDataSource(ds)            reportDocument.ExportToHttpResponse(exportFormat, response, True, reportTitle)        Catch ex As Exception            ................         Finally            reportDocument.Dispose()            reportDocument = Nothing        End Try    End Sub

Viewing all articles
Browse latest Browse all 1507

Trending Articles



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