i save pdf document into sqlserver using " varbinary(MAX) "
i also can dowload the document after retrive from database
but when i try to open that downloaded file
it gives me this error
"there was an error opening this document. the file is damaged and could not be repaired pdf"
what to do to get rid of it.
thanks