"Cannot view XML input using XSL style sheet" error

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click theRefresh button, or try again later.


A name was started with an invalid character. Error processing resource 'http://localhost/Default.aspx'. Line 1, Position 2

<%@ Page Language="C#" MasterPageFile="Default.master" Title="Your Name Here | Home" -^
When I upload my site via FTP or access it through IIS I get this same error, I got this
error using the Beta 2 version to VWD .NET 2005 personal website template. I am fairly new
to ASP so I just wanted to check the functionality. However, I encounter this error when I go
to access the site

[1064 byte] By [Brian12184] at [2008-1-13]
# 1
It sounds like your server is not recognizing .aspx files so it is returning the file as is to the client. Try reinstalling ASP.NET on your web server.
ChrisLovett at 2007-8-21 > top of Msdn Tech,.NET Development,XML and the .NET Framework...
# 2

To Dear Sir,

I came across a distinct error. The details are below:

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 'ftp://rcsoftnet.com

<%@ Page Language="VB" MasterPageFile="Default.master" Title="Welcome To Bharatiyam 2K7 | Home"

-^

I crated a website & publish it to ftp site which support asp.net 2.0. It was working fine from VS 2005 environment. However when I try to access the website from ftp I am getting this error.

As in case of localhost it can be easily fixed by configuring the iis as asp.net2.0 but what in case of ftp. as it is already configured as 2.0

Please provide me with answer. Your prompt feed back is much more appreciated.

Thanks

Gautam

begautam@hotmail.com

+919325119930

begautam at 2007-8-21 > top of Msdn Tech,.NET Development,XML and the .NET Framework...
# 3

Once again.

Your server sends the ASPx file to the client as is.

Browser thinks this is XML and tried to convert it to HTML using XSLT.

Because ASP(X) is not an XML this can't work. Error is deceptive, but the problem is on the server.

This question is completely out off scope of this forum.

SergeyDubinets-MSFT at 2007-8-21 > top of Msdn Tech,.NET Development,XML and the .NET Framework...

.NET Development

Site Classified