Skip to Content
author's profile photo
Former Member

ExportToHttpResponse. 'Please wait while the document is being processed.'

Hello

I have an ASP.NET page with the crystal reports viewer control. I use a button to export the report to PDF format using the ExportToHttpResponse method.

Here is the code:

Protected Sub GenerateReport(ByVal format As CrystalDecisions.Shared.ExportFormatType)

Dim sNombreArchivo As String

Select Case format

Case CrystalDecisions.Shared.ExportFormatType.Excel 'excel

sNombreArchivo = "informe.xls"

Case CrystalDecisions.Shared.ExportFormatType.PortableDocFormat 'pdf

sNombreArchivo = "informe.pdf"

Case CrystalDecisions.Shared.ExportFormatType.EditableRTF 'word

sNombreArchivo = "informe.doc"

End Select

crt.ExportToHttpResponse(format, Response, True, sNombreArchivo)

Response.End()

End Sub

The export funcionality works ok, but after the export is done the viewer control doesnu2019t work anymore. For example, clicking on the group tree will bring up the 'Please wait while the document is being processed.' dialog and it never finishes.

I have installed in my computer Crystal report 2008, version:12.3.2.753, product type: Full. All of the SP are installed too.

The design of the reports has been done with Visual Studio 2008, adding the references to CR 2008 dlls.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on Apr 29, 2011 at 02:17 PM

    See KB 1523063, 1542084. Use the search box in the top right corner of this web page.

    Also, don't forget to search these forums...

    - Ludek

    Add comment
    10|10000 characters needed characters exceeded