Problem Sending Excel Document to a Client Browser


I am opening a document using, changing some cell values, and then trying to display the document in the browser. I am using the following code to open the doc:

excel.Save("ConferenceCallReport.xls", SaveType.OpenInExcel, FileFormatType.Default, Me.Response)

The result is a blank document with the first sheet titled ".xls]ConferenceCallReport[1]"

If I try to save the document to a directory, ie:"c:\text.xls"), the file saves correctly and all of the cell values are correct.

The demo program works correctly and allows me to open documents from the browser.

Any ideas?


Have you used http compression in your IIS? Or do you use https?


No http compression or https…


Could you please zip your project and post it here? I will check it ASAP.


And could you please try to run your program in another machine?