Unable to run .aspx websites

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.
 
P

Peter Bradley

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top