Hi,
I am using VS 2010 and C#. I am trying to create a pdf file in web application.
I am trying to convert a dataset to pdf file. The pdf file is getting generated, but when i try to open the pdf, i am getting the error as "Adobe reader could not open "sample.pdf" because it is either not a supported file type or because the file has been damaged"
I have tried with "application/pdf" as well as "application/octet-stream". Both are giving the same error.
How to fix this?
Thank you
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.