IIS7: Can't display downloaded file
Hello,
I'm saving Word document files to a SQL Server. On the download
Word doesn't start and instead I get a message saying:
==INCLUDED MESSAGE
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
An invalid character was found in text content. Error processing resource 'http://localhost/ims/DocViewer.aspx?id=5'.
==END INCLUDED MESSAGE
What could be going on? I am setting the MIME type to "application/vnd.ms-word" and I am able to download and view Excel and PDF files.
Just Word files are not displaying.
|