Hi,
I am having problem opening .docx files that are download from an asp.net page. When I open the file in Word 2007, I get the error, " The Open Office XML File cannot be opened because there are problems with the contents.(Details: The file is corrupt and cannot be opend)". It's also giving the same error with the .xlsx and the latest version of the pdf files too.
The files themselves are fine and asp.net page works fine with other file types (doc, xls, older version of pdf, etc).
Here is the code to open the file.
try
{
SqlConnection conn = new Go to the complete details ...