473,503 Members | 1,662 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Launching ASPX pages through localhost

I have some ASPX pages that I would like to display by browsing to
http://localhost/, but whenever I do, all I get is MS's 404 "Webpage cannot
be found" page.

I have IIS configured so that it uses "C:\Inetpub\wwwroot" as the Local Path
under the Home Directory, and I have tried using different default webpages
(index.htm, Default.aspx, index.asp) but nothing works.

Where can I find how to get IIS running on my local machine so that I can
view my websites?

ASP.NET 2.0.50727
Apr 4 '08 #1
3 2129
If you are getting 404, IIS is running.

The default page for IIS on XP is localstart.asp:
http://localhost/localstart.asp

As for your own pages, just set one down there and then make sure IIS is
configured to use that page as your new default. I tend to stick with
default.aspx, as it is fairly standard, as far as usage.

Does this help?

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"jp2msft" <jp*****@discussions.microsoft.comwrote in message
news:82**********************************@microsof t.com...
>I have some ASPX pages that I would like to display by browsing to
http://localhost/, but whenever I do, all I get is MS's 404 "Webpage
cannot
be found" page.

I have IIS configured so that it uses "C:\Inetpub\wwwroot" as the Local
Path
under the Home Directory, and I have tried using different default
webpages
(index.htm, Default.aspx, index.asp) but nothing works.

Where can I find how to get IIS running on my local machine so that I can
view my websites?

ASP.NET 2.0.50727

Apr 4 '08 #2
What operating system are you using? By default IIS installs and configures
itself at the path you indicated so --you-- do not need to "configure IIS in
that context. Finally, go to your My Computer, open it and and tell me what
the computer name is.
"jp2msft" <jp*****@discussions.microsoft.comwrote in message
news:82**********************************@microsof t.com...
>I have some ASPX pages that I would like to display by browsing to
http://localhost/, but whenever I do, all I get is MS's 404 "Webpage
cannot
be found" page.

I have IIS configured so that it uses "C:\Inetpub\wwwroot" as the Local
Path
under the Home Directory, and I have tried using different default
webpages
(index.htm, Default.aspx, index.asp) but nothing works.

Where can I find how to get IIS running on my local machine so that I can
view my websites?

ASP.NET 2.0.50727
Apr 4 '08 #3
Well, I *think* IIS is "configured to use that page as my new default", but
it still pulls up Microsoft's Page Not Found when I type it into the address
bar in IE7.

How do I make sure IIS is configured the right way?

"Cowboy (Gregory A. Beamer)" wrote:
If you are getting 404, IIS is running.

The default page for IIS on XP is localstart.asp:
http://localhost/localstart.asp

As for your own pages, just set one down there and then make sure IIS is
configured to use that page as your new default. I tend to stick with
default.aspx, as it is fairly standard, as far as usage.

Does this help?

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"jp2msft" <jp*****@discussions.microsoft.comwrote in message
news:82**********************************@microsof t.com...
I have some ASPX pages that I would like to display by browsing to
http://localhost/, but whenever I do, all I get is MS's 404 "Webpage
cannot
be found" page.

I have IIS configured so that it uses "C:\Inetpub\wwwroot" as the Local
Path
under the Home Directory, and I have tried using different default
webpages
(index.htm, Default.aspx, index.asp) but nothing works.

Where can I find how to get IIS running on my local machine so that I can
view my websites?

ASP.NET 2.0.50727


Apr 4 '08 #4

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

Similar topics

3
2197
by: Ken | last post by:
Any ideas anyone, using IIS 5.1 .ASP web pages do not work I get error 500, but .ASPX web pages work fine? I made a website using MS FrontPage 2000, then I added some .ASPX pages to the site that...
1
1445
by: Vance Collins | last post by:
I have just converted from Linux and Apache to MS 2000 running Visual Studio .NET on IIS 5.0. I have installed the .NET Framework and the .NET SDK. I have an extremely simple problem. I can view...
2
368
by: Steve Barker | last post by:
Hi guys, I have written a web service, but I want clients to be able to consume it without having the .NET framework installed on their PC. The web service doesn't return any values; it is just...
6
3554
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
6
7779
by: Kentamanos | last post by:
Please don't ask me why I'm doing this (trust me, it makes sense in my system), but I'd like to basically redirect requests for a certain extension (thus a handler) to an ASPX page behind the scenes....
1
2678
by: Tom | last post by:
Hi I developed a web application and want to create the setup package msi file I created a a project and chose "Installer Web Project" I set the URL to be http://localhost:808 I chose all...
2
2328
by: simon | last post by:
hello, what i'm looking to do is store the path of the app on a the server for reuse in the site. my thoughts so far are... -make a key in the web.config file -retrieve the value in globals.asax...
3
1618
by: =?Utf-8?B?U2hlcm1hbiBLQg==?= | last post by:
I have an application developed using IIS 5, and the 2.14 version of the .net framework and SQL 2005. When deployed to two different servers, the pages all display properly when using the address...
5
9856
by: Arch Stanton | last post by:
I have a set of ASPX pages that work fine on my home computer (Vista), and on a server at work (XP). I just got a new laptop at work (XP) and these same files don't work on it. I installed IIS and...
0
7083
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
7456
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
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,...
1
5011
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...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3166
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
379
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.