473,413 Members | 1,989 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,413 software developers and data experts.

ASP.NET 2.0: "hello world" page fails with "Failed to map the path

I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug 2004, which
installs the 2.0 framework and ASP.NET 2.0. I write a simple aspx page
containing <HTML><BODY>Hello world</BODY></HTML> and place it in
inetpub\wwwroot. I run the page http://localhost/test.aspx and it fails with
"Server Error in '/' Application." "Failed to map the path '/test.aspx'. " I
can successfully run asp and htm pages from that same location, however.

Help would be appreciated.

--
randy
Nov 19 '05 #1
7 5507
You might need to repair your IIS mappings.
You can use the instructions listed here:
http://SteveOrr.net/faq/3in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"randy collins" <ra******@newsgroup.nospam> wrote in message
news:7D**********************************@microsof t.com...
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug 2004,
which
installs the 2.0 framework and ASP.NET 2.0. I write a simple aspx page
containing <HTML><BODY>Hello world</BODY></HTML> and place it in
inetpub\wwwroot. I run the page http://localhost/test.aspx and it fails
with
"Server Error in '/' Application." "Failed to map the path '/test.aspx'. "
I
can successfully run asp and htm pages from that same location, however.

Help would be appreciated.

--
randy

Nov 19 '05 #2
You might need to repair your IIS mappings.
You can use the instructions listed here:
http://SteveOrr.net/faq/3in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"randy collins" <ra******@newsgroup.nospam> wrote in message
news:7D**********************************@microsof t.com...
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug 2004,
which
installs the 2.0 framework and ASP.NET 2.0. I write a simple aspx page
containing <HTML><BODY>Hello world</BODY></HTML> and place it in
inetpub\wwwroot. I run the page http://localhost/test.aspx and it fails
with
"Server Error in '/' Application." "Failed to map the path '/test.aspx'. "
I
can successfully run asp and htm pages from that same location, however.

Help would be appreciated.

--
randy

Nov 19 '05 #3
Thanks for your reply, Steve. I gave ASPNET_REGIIS.EXE -i a try, as you
suggested, but it did not change the outcome.

"Steve C. Orr [MVP, MCSD]" wrote:
You might need to repair your IIS mappings.
You can use the instructions listed here:
http://SteveOrr.net/faq/3in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"randy collins" <ra******@newsgroup.nospam> wrote in message
news:7D**********************************@microsof t.com...
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug 2004,
which
installs the 2.0 framework and ASP.NET 2.0. I write a simple aspx page
containing <HTML><BODY>Hello world</BODY></HTML> and place it in
inetpub\wwwroot. I run the page http://localhost/test.aspx and it fails
with
"Server Error in '/' Application." "Failed to map the path '/test.aspx'. "
I
can successfully run asp and htm pages from that same location, however.

Help would be appreciated.

--
randy


Nov 19 '05 #4
Thanks for your reply, Steve. I gave ASPNET_REGIIS.EXE -i a try, as you
suggested, but it did not change the outcome.

"Steve C. Orr [MVP, MCSD]" wrote:
You might need to repair your IIS mappings.
You can use the instructions listed here:
http://SteveOrr.net/faq/3in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"randy collins" <ra******@newsgroup.nospam> wrote in message
news:7D**********************************@microsof t.com...
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug 2004,
which
installs the 2.0 framework and ASP.NET 2.0. I write a simple aspx page
containing <HTML><BODY>Hello world</BODY></HTML> and place it in
inetpub\wwwroot. I run the page http://localhost/test.aspx and it fails
with
"Server Error in '/' Application." "Failed to map the path '/test.aspx'. "
I
can successfully run asp and htm pages from that same location, however.

Help would be appreciated.

--
randy


Nov 19 '05 #5
Hello randy,

I think this is because wwwroot is not a vroot. ASP.NET apps need to have
a vroot.

--
Matt Berther
http://www.mattberther.com
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug
2004, which installs the 2.0 framework and ASP.NET 2.0. I write a
simple aspx page containing <HTML><BODY>Hello world</BODY></HTML> and
place it in inetpub\wwwroot. I run the page http://localhost/test.aspx
and it fails with "Server Error in '/' Application." "Failed to map
the path '/test.aspx'. " I can successfully run asp and htm pages
from that same location, however.

Help would be appreciated.

Nov 19 '05 #6
Thanks for your reply, Matt, however, I get this same error regardless of
whether I put the aspx page in a virtual directory or in the root of the
website. I can access asp pages from either of these. I reinstalled visual
studio 2005 a second time and reran the asp.net registration, too, to no
avail.
"Matt Berther" wrote:
Hello randy,

I think this is because wwwroot is not a vroot. ASP.NET apps need to have
a vroot.

--
Matt Berther
http://www.mattberther.com
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug
2004, which installs the 2.0 framework and ASP.NET 2.0. I write a
simple aspx page containing <HTML><BODY>Hello world</BODY></HTML> and
place it in inetpub\wwwroot. I run the page http://localhost/test.aspx
and it fails with "Server Error in '/' Application." "Failed to map
the path '/test.aspx'. " I can successfully run asp and htm pages
from that same location, however.

Help would be appreciated.


Nov 19 '05 #7
I'm getting this error as well. Has anyone been able to resolve it?

"randy collins" wrote:
Thanks for your reply, Matt, however, I get this same error regardless of
whether I put the aspx page in a virtual directory or in the root of the
website. I can access asp pages from either of these. I reinstalled visual
studio 2005 a second time and reran the asp.net registration, too, to no
avail.
"Matt Berther" wrote:
Hello randy,

I think this is because wwwroot is not a vroot. ASP.NET apps need to have
a vroot.

--
Matt Berther
http://www.mattberther.com
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug
2004, which installs the 2.0 framework and ASP.NET 2.0. I write a
simple aspx page containing <HTML><BODY>Hello world</BODY></HTML> and
place it in inetpub\wwwroot. I run the page http://localhost/test.aspx
and it fails with "Server Error in '/' Application." "Failed to map
the path '/test.aspx'. " I can successfully run asp and htm pages
from that same location, however.

Help would be appreciated.


Nov 19 '05 #8

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

Similar topics

9
by: PG | last post by:
Hi gurus, I have AIX visual age C++ compiler version 5.0.2.3. I have a simple hello world program that gives compilation errors. Any help will be appreciated. Thanks PG ***test.cpp**** ...
81
by: Matt | last post by:
I have 2 questions: 1. strlen returns an unsigned (size_t) quantity. Why is an unsigned value more approprate than a signed value? Why is unsighned value less appropriate? 2. Would there...
0
by: randy collins | last post by:
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug 2004, which installs the 2.0 framework and ASP.NET 2.0. I write a simple aspx page containing <HTML><BODY>Hello...
4
by: jeanclaude.hernandez | last post by:
Hello, how can I get the "path to executable" of a windows service from a c# application ? I have tried the ServiceContoller class, ServiceBase class with no results... Thanks,
0
by: Thomas Blabb | last post by:
Sorry for this question but how do I write a simple "Hello world" HTML page from a perl script? In other words if I click in an already existing html page on a link like: .... <a...
5
by: Greg Smith | last post by:
I am making the step from windows to web. The final destination is our production server running Server 2003 Web Edition. I am having problems using the BUILD | PUBLISH WEB SITE option. What...
2
by: Bell, Kevin | last post by:
I'm trying to get an idea of how packages work and I've read about it in the Py Tutorial and Nutshell, but I'm still craving a concrete example that I can poke through. Does anyone have a really...
1
by: alain MONTMORY | last post by:
Hello everybody, I am a newbie to python so I hope I am at the right place to expose my problem..... :-http://www.python.org/doc/2.4.2/ext/pure-embedding.html 5.3 Pure Embedding I download the...
21
by: comp.lang.tcl | last post by:
set php {<? print_r("Hello World"); ?>} puts $php; # PRINTS OUT <? print_r("Hello World"); ?> puts When I try this within TCL I get the following error:
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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.