PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

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

 
 
=?Utf-8?B?cmFuZHkgY29sbGlucw==?=
Guest
Posts: n/a
 
      15th Apr 2005
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
 
Reply With Quote
 
 
 
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      15th Apr 2005
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" <(E-Mail Removed)> wrote in message
news:7D56B0EC-1C93-4EC1-94E7-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?cmFuZHkgY29sbGlucw==?=
Guest
Posts: n/a
 
      15th Apr 2005
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" <(E-Mail Removed)> wrote in message
> news:7D56B0EC-1C93-4EC1-94E7-(E-Mail Removed)...
> > 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

>
>
>

 
Reply With Quote
 
Matt Berther
Guest
Posts: n/a
 
      15th Apr 2005
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.
>



 
Reply With Quote
 
=?Utf-8?B?cmFuZHkgY29sbGlucw==?=
Guest
Posts: n/a
 
      15th Apr 2005
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.
> >

>
>
>

 
Reply With Quote
 
=?Utf-8?B?UmljaA==?=
Guest
Posts: n/a
 
      13th Jul 2005
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.
> > >

> >
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "delayed write failed" and "path too deep" error messages =?Utf-8?B?Um90b3JoZWFkODc=?= Windows XP Hardware 5 20th Apr 2006 05:06 PM
What is Error "Method "Paste" of object "_Worksheet" failed? =?Utf-8?B?dmF0?= Microsoft Excel Programming 7 17th Feb 2006 08:05 PM
Server.MapPath() croaking with "failed to map path", but path is legal awbacker@gmail.com Microsoft ASP .NET 0 12th May 2005 11:50 PM
net view/net use fails with "the network path was not found" David Gardiner Microsoft Windows 2000 Networking 1 6th May 2004 08:14 AM
<forms name="CompanyWeb" loginUrl="login.aspx" protection="All" path="/" /> Murphy Microsoft ASP .NET 2 19th Apr 2004 08:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.