Unable to run .aspx websites

  • Thread starter Thread starter grzegorz.gazda
  • Start date Start date
G

grzegorz.gazda

I am not sure whether it is the right group to write this post, or I
should ask for help on IIS group. Anyway...

I am using Visual Web developer Express edition. I have created
an .aspx website. When I run it from Visual Studio, either clicking
Run in Browser or debugging everything is fine. The URL for that web
site is than http://localhost:9773/WebSite. But when I try to run this
website using URL: http://localhost/WebSite I receive an error:

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.

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

XML document must have a top level element. Error processing resource
'http://localhost/WebSite/Default.aspx'.

Why I have this error and how I can solve the problem?

I add that I was able to run sample .asp website and everything was
fine.
 
Do you have IIS installed, configured for .NET and running on your machin?.
Have you installed your site in the IIS file system (under inetpub, unless
you alias it) and configured it?

Visual Web developer is using its own web server (on port 9773). Not sure
how much, if any, of IIS it needs to do this. So you may not have all the
bits you need, or you may not have configured them properly.


Peter
 
Back
Top