Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default excel file won't open in IE/XML page can't be opened

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!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default excel file won't open in IE/XML page can't be opened

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



" wrote:

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!


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
personal.xls doesn't open when excel is opened from Access Bento72 Setting up and Configuration of Excel 1 January 15th 07 03:49 PM
cannot open the excel file, the file is already opened cannot open the excel document Excel Discussion (Misc queries) 1 May 19th 06 07:45 AM
Excel cannot open while web browser opened soundbug Excel Discussion (Misc queries) 0 April 27th 06 06:18 AM
Can Excel open a new application for every file opened? shoon Excel Discussion (Misc queries) 1 December 13th 05 04:43 PM
When I open Excel, 3 un-requested xls.docs are opened. Why? Lisam Excel Discussion (Misc queries) 5 September 1st 05 07:39 PM


All times are GMT +1. The time now is 10:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"