Problem Sending Excel Document to a Client Browser


#1

I am opening a document using excel.open, 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: excel.save("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?


#2

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


#3

No http compression or https…


#4

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


#5

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