Question : Excel Exception when trying to display page

Hi there

I have an ASP application that sets the content type of the page as follows:

Response.ContentType = "application/vnd.ms-excel"

It then creates a very simply HTML table with a row of headers and rows of table data.

When the user clicks on a button to execute this page ASP then kicks off Excel to display the HTML table
as an Excel spreadsheet or at least in a perfect world that's what happens!

For this to work the user should have Excel '97 or later on their PC and my user has Office 2000 on her computer so I am assuming her version of the software is OK.

The problem she is having is that when Excel is invoked to display the table she gets the following exception:

Exception Information
Code:  0xC0000005      Flags:0x00000000
Record: 0x0000000000000000      Address:  0x00000000300a825a

I know nothing about Excel so was wondering if anyone knows what this exception is?

Many thanks
Sam

Answer : Excel Exception when trying to display page

PAQed with points refunded (500)

Computer101
EE Admin
Random Solutions  
 
programming4us programming4us