473,563 Members | 2,762 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\www root" 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 2138
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*****@discus sions.microsoft .comwrote in message
news:82******** *************** ***********@mic rosoft.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\www root" 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*****@discus sions.microsoft .comwrote in message
news:82******** *************** ***********@mic rosoft.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\www root" 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*****@discus sions.microsoft .comwrote in message
news:82******** *************** ***********@mic rosoft.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\www root" 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
2200
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 were made with visual studio .NET 2003, which all was fine then I wanted to add a page using MS FrontPage 2000 again a simple form that send form...
1
1449
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 an aspx file by double clicking on it, but I get a 500 error when I type its name in the browser. "http://localhost/firstasp.aspx." I am able to...
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 used to record requests: a user can send their personal ID to the web service, and this is stored in a database. Is is possible to launch this...
6
3556
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 error page. All six steps in the article work just fine. Then at the end of the article, there is a little comment about redirecting errors to an aspx...
6
7790
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. I've created a handler and set it up to handle the extension in question. In my ProcessRequest, I'd like to basically figure out which ASPX page...
1
2692
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 needed output project dll files.
2
2332
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 in application startup -store it in a variable that can be reference from all pages -use that variable on many pages my questions 1) what is the...
3
1623
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 http://localhost/mywebapp/default.aspx. If I replace localhost with a DNS name, the pages will not display... I get a "Internet Explorer Cannot...
5
9864
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 dot.net on my new computer, but every time I try to access the ASPX pages locally (using http://localhost/main.aspx in the browser address bar), the...
0
7664
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7885
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7948
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6250
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
923
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.