writing to Excel using ASP.Net

  • Thread starter Thread starter Jeff Hamilton
  • Start date Start date
J

Jeff Hamilton

I have several ASP.Net pages which allow the user to view
the content in Excel. To do this I am using the
line 'Response.ContentType = "application/vnd.ms-excel"'
in the Page_Load event. For Win 2K machines running IE
5.0 this does not cause a problem, however for machines
running Win XP and IE 6.0 it generates a fatal error
dialog box stating that Excel needs to close. Is this a
known Excel/IE error or am I doing something incorrectly?
 
Obviously this is not normal.
Make sure you're up to date on your patches.
If that doesn't work, make sure you don't have anything funky in your Excel
output.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top