Problems exporting to pdf

  • When I export a report to pdf I sometimes get the error 'There was an error opening the document. The file is damaged and could not be repaired.' When I give different parametervalues there is no problem with the export (of the same report).

    I examined the created pdf-file (with notepad) and noticed that at the end there is the html-code for the following errormessage: Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown. (rrRenderingError); Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown.; Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

  • The way that I resolved this issue by uninstalling .Net FW and uninstalling SQL Server Reporting Services and then reinstall them again.

  • Hi, Can you please explain this issue clearly ..i have similar problem when i am trying to retrive the pDf frm SQL server

  • As a reminder, remember that their are separate rendering engines for the differfent output types, although there's overlap on the code (they share some components). So sometimes you'll find a bug that appears in one or more engines.

    Try exporting to the different output types and checking for errors. I believe if memory serves me, that PDF shares pieces with print, so look for problems there.

    You may encounter some errors or problems if you're trying to do some sophisticated formatting, particularily with the matrix control.

    P.S. What controls are you using and what service pack? There was some fixes in the latest service pack.

  • Try to you IE6.0+ then try. I was facing same problem but after installing IE6.0+ it works fine.

  • I'm also having this problem or something similar. Any reports that contain charts will not export or print.

    I recently had an issue where the print control stopped working after an MS update to my client workstations killed the control via the activex killbits. After diggin I found the fix to that issue but I have a feeling it might have now caused this issue.

    This is what I get when I try to print:

    ---------------------------

    Print Error

    ---------------------------

    An error occured during printing. (0x80004005)

    When I try to export to PDF I get this:

    Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown

    Any help is greatly appreciated as long as it doesn't involve uninstalling and reinstalling reporting services :crazy:

  • I am having the same issue too.

    It show the error msg when i tried to export to pdf or excel.

    However it works perfect without any issue when i worked on my testing server....same data, same format.. same version for sql server...:crying: i am wondering is it because of the memory issue...

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply