Display Excel doc in Web page crashes explorer

  • Thread starter Thread starter strider
  • Start date Start date
S

strider

I stream an Excel document to a web page.

The document displays as expected, but when I close the page, IE
crashes with "memory could not be read" error.

When the document is displayed, it starts up the Excel process on the
client. I have found that when you terminate this process before
closing the page, then IE does not crash.

Anyone have any ideas as to how to get around this? I streamed the
Excel document using:

Response.AppendHeader("Content-Type", "application/x-msexcel")
Response.WriteFile("c:\doc.xls")

Thanks
 
Back
Top