excel file won't open in IE/XML page can't be opened

C

chipsterva

I have an excel file in a restricted directory on our web and use an
ASP password verification page to grant access to it (designed by a
third party long gone, of course!). I try to open it using Internet
Explorer 7 and get the following error message -

***********

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

An invalid character was found in text content. Error processing
resource 'http://crm1.hdma.net/eweb/SecureFileSameWindow.a...

*************

The piece of code that handles the file types and such is as follows:

else if (FileName.EndsWith("xls"))
{
Response.ContentType = "application/excel";
}

The excel file opens fine in Firefox. The excel file was created in
Excel 11, but I have tried saving it down to 2000 and 95 with no luck
- they just open up as text files with no breaks or columns.

Any help would be greatly appreciated!
 
D

Dave Peterson

If you don't get an answer in this newsgroup, you may want to ask in one of
those MSIE/scripting newsgroups.
 

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

Top