Launching ASPX pages through localhost

Launching ASPX pages through localhost

am 04.04.2008 15:19:01 von jp2msft

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

Re: Launching ASPX pages through localhost

am 04.04.2008 16:12:59 von Patrice

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" wrote in message
news:82DF5C8B-1317-496E-A33D-60D8ECED7A39@microsoft.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

Re: Launching ASPX pages through localhost

am 04.04.2008 17:31:40 von NoSpamMgbworld

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" wrote in message
news:82DF5C8B-1317-496E-A33D-60D8ECED7A39@microsoft.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

Re: Launching ASPX pages through localhost

am 04.04.2008 23:43:01 von jp2msft

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" wrote in message
> news:82DF5C8B-1317-496E-A33D-60D8ECED7A39@microsoft.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
>
>
>