|
-
Aug 7th, 2007, 03:37 PM
#1
Resolved: [2005] The XML page cannot be displayed
I am getting the following error on a simple project/site (it only has a master page, default.aspx, some classes and a stylesheet). The error only occurs if I browse to the default.aspx page directly. Using //localhost/testsite works fine. When running within the IDE and with the project's Start Page set to default.aspx the error occurs otherwise it works fine as well. Other projects/sites don't have this problem.
I compared the IIS settings of two virtual directories and everything seems to be in order. The ASP.NET tab is the same for both.
Running aspnet_regiis -u and then aspnet_regiis -i did not work.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'http://localhost/TestSite/Default.aspx'. Line ...
<%@ Page Language="VB" MasterPageFile="~/wss10000.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_D...
Last edited by brucevde; Aug 8th, 2007 at 11:37 AM.
Reason: Resolved
-
Aug 8th, 2007, 07:39 AM
#2
Re: [2005] The XML page cannot be displayed
In IIS, in the virtual directories properties, look at "Configuration...". Has .aspx been mapped to the ASP.NET ISAPI DLL?
-
Aug 8th, 2007, 11:36 AM
#3
Re: [2005] The XML page cannot be displayed
Has .aspx been mapped to the ASP.NET ISAPI DLL?
IIS, .Net is setup just fine. The problem was just this one project.
I tried several things before I finally just deleted the Master and the Default.Aspx pages but surprisingly I got the same error! This led me to think there was a caching issue. Sure enough deleting the temporary internet files solved the problem.
-
Aug 9th, 2007, 04:45 AM
#4
Re: Resolved: [2005] The XML page cannot be displayed
I was going to mention that. No, really...
And to make my post seem slightly helpful, I'll also add that I usually turn indexing services off on my machine since it's not something that goes well with the Temporary ASP.NET fold.er
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|