![]() |
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! |
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 |
All times are GMT +1. The time now is 04:27 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com