Friday, February 24, 2012

file is damaged and could not be repaired

Hi
I am exporting the r.s. reports to pdf fomat.I am viewing the report in
Adobe Reader 7.0.I get the error as "file is damaged and could not be
repaired" I am dumping the report bytes in browser like this
Response.ContentType = "application/pdf"
Response.BinaryWrite(objResults)
Response.Flush()
Any body has clue to this query.I was receiving this error, and after researching it, I found out I needed to
load the latest Service Pack for Report Server. I believe the latest SP for
Report Server is SP 2.
"Aniruddha" wrote:
> Hi
> I am exporting the r.s. reports to pdf fomat.I am viewing the report in
> Adobe Reader 7.0.I get the error as "file is damaged and could not be
> repaired" I am dumping the report bytes in browser like this
> Response.ContentType = "application/pdf"
> Response.BinaryWrite(objResults)
> Response.Flush()
> Any body has clue to this query.

No comments:

Post a Comment