473,378 Members | 1,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Unable to run .aspx websites

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.

Apr 19 '07 #1
1 2057
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

<gr************@googlemail.comwrote in message
news:11**********************@b75g2000hsg.googlegr oups.com...
>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.

Apr 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Don Wash | last post by:
Hi! I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by downloading samples from various ASP.NET websites and none of the samples worked so far. The SAME error was shown whenever I...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
0
by: SampathTangudu | last post by:
Hi, We are trying to use the Hash Tables for passing information from one aspx page to another aspx page. We are using the below code. IsolatedStorageFile isoStore =...
0
by: Yogesh Pancholi | last post by:
For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could happliy browse up until last week. As of Monday,...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
3
by: floridagirl | last post by:
I am having trouble acccessing secure websites with explorer ie yahoo mail and bank websites. Any ideas how I can access back to my mail and stuff?? I am ready to toss my computer!!!!
0
by: =?Utf-8?B?Q2hyaXN0aW5h?= | last post by:
Whoever can figure this problem out will be a genius. I have a home network that includes: 2 desktop computers both running on Windows XP and 1 laptop running Windows Vista. The desktop computers...
4
by: japss | last post by:
Hi We have been upgrading our intranet sites to .NET 2.0 from 1.1 one-by-one - it is win 2003, xeon E5335 2.0Ghz, IIS 6.0. The server only had .NET framework 1.1 and we recently installed .NET...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.