•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 392,009 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,232 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 5034 | Replies: 21
![]() |
•
•
Join Date: Jul 2007
Posts: 30
Reputation:
Rep Power: 2
Solved Threads: 0
i have installled IIS .
but when i try to open up http://localhost ... it says page cannot be displayed .....
what i have to do ....
i even tried with my computer name .. same error page cannot be displayed
using xp pro sp2 ? what do i have to do more ?
any help would be appreciated .
thanks
i have no clue abt asp just started first day today
so looking for as much help i cna get
but when i try to open up http://localhost ... it says page cannot be displayed .....
what i have to do ....
i even tried with my computer name .. same error page cannot be displayed
using xp pro sp2 ? what do i have to do more ?
any help would be appreciated .
thanks
i have no clue abt asp just started first day today
so looking for as much help i cna get
•
•
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation:
Rep Power: 30
Solved Threads: 264
call your web page index.asp and put it in the web directory (i think its c:\ wwwroot) and try again
TRY MY SUGGESTIONS AT YOUR OWN RISK!
james.bennet1@ntlworld.com
james.bennet1@ntlworld.com
•
•
Join Date: Dec 2007
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
try and see if you can browse by http://127.0.0.1
Also open up the services panel...
click Start -> Run type "services.msc" this will bring up your services panel. check to see it IIS services are running. While at this panel also check to see if WWW or web publishing is their if it is check if it is running. Otherwise, turn them on.
If all is good then click Start->Control Panel->Computer Administrative Tools->Internet Information Services
In IIS console expand the plus sign to "Default Website" Right click select properties. in Documents tab if you do not see index.asp or default.asp -- Add them and click OK. Check to see if your pages can be displayed now.
Make sure us are logged in as Administrator
Good Luck
-----------------------------------------------------
Use my suggestion at your own risk... zhk
-----------------------------------------------------
Also open up the services panel...
click Start -> Run type "services.msc" this will bring up your services panel. check to see it IIS services are running. While at this panel also check to see if WWW or web publishing is their if it is check if it is running. Otherwise, turn them on.
If all is good then click Start->Control Panel->Computer Administrative Tools->Internet Information Services
In IIS console expand the plus sign to "Default Website" Right click select properties. in Documents tab if you do not see index.asp or default.asp -- Add them and click OK. Check to see if your pages can be displayed now.
Make sure us are logged in as Administrator
Good Luck
-----------------------------------------------------
Use my suggestion at your own risk... zhk
-----------------------------------------------------
Last edited by zhk : Dec 13th, 2007 at 4:05 pm.
•
•
Join Date: Jul 2007
Posts: 30
Reputation:
Rep Power: 2
Solved Threads: 0
after going thru this link :-- http://www.razorx.com/tutorials/IISonXPPro/
i got the http://localhost ... working the message it shows is "Cool! My own server home page. "
but yet i am unable to run the .asp files wonder why ?
any more help can i get ?
i got the http://localhost ... working the message it shows is "Cool! My own server home page. "
but yet i am unable to run the .asp files wonder why ?
any more help can i get ?
•
•
Join Date: Dec 2007
Posts: 75
Reputation:
Rep Power: 1
Solved Threads: 10
Open the properties window for the website in question ( the fifth image from top to bottom on the step-by-step tutorial at http://www.razorx.com/tutorials/IISonXPPro/).
Then click on the "Home Directory" tab. Make sure that "Execute Permissions" is set to "Scripts Only" at the very least.
If after this, the problem persists, on that same tab, click on the "Configuration" button.
Then on the pop-up window you will see three tabs. You need the one labeled "Mappings". Make sure that under "Application Mappings" you have ".asp" listed in extensions. If it is not there then it was not registered properly when you installed IIS. So you would need to re-install IIS.
Then click on the "Home Directory" tab. Make sure that "Execute Permissions" is set to "Scripts Only" at the very least.
If after this, the problem persists, on that same tab, click on the "Configuration" button.
Then on the pop-up window you will see three tabs. You need the one labeled "Mappings". Make sure that under "Application Mappings" you have ".asp" listed in extensions. If it is not there then it was not registered properly when you installed IIS. So you would need to re-install IIS.
•
•
Join Date: Jul 2007
Posts: 30
Reputation:
Rep Power: 2
Solved Threads: 0
i am totally clueless yet ....
do i need anything more then IIS ? xp pro sp2
even the localhost
this is the message i get for http://localhost ( http://127.0.0.1 )"Cool! My own server home page. " --- but this can be de to the html code
{{{ Using Notepad or Dreamweaver, just write a simple index.htm test document and then save it into your C:\Inetpub\wwwroot directory.
<html>
<head>
<title>Home page test</title>
</head>
<body>
<div align="center">Cool! My own server home page.</div>
</body>
</html>
}}}
or do we need this code
i am all at bay as of now yet --- i tried what hielo and zhk said till now ? any more help
am i missin sumthing ??
do i need anything more then IIS ? xp pro sp2
even the localhost
this is the message i get for http://localhost ( http://127.0.0.1 )"Cool! My own server home page. " --- but this can be de to the html code
{{{ Using Notepad or Dreamweaver, just write a simple index.htm test document and then save it into your C:\Inetpub\wwwroot directory.
<html>
<head>
<title>Home page test</title>
</head>
<body>
<div align="center">Cool! My own server home page.</div>
</body>
</html>
}}}
or do we need this code
i am all at bay as of now yet --- i tried what hielo and zhk said till now ? any more help
am i missin sumthing ??
•
•
Join Date: Jul 2007
Posts: 24
Reputation:
Rep Power: 2
Solved Threads: 0
Label me no asp expert because I usually deal with aspx pages but let me try to help.
possible solution #1: Did you create a application out of your site folder located in your wwwroot directory? If not go to IIS and click on your site. If it doesn't display as a small icon of an open box with a small world inside it, then it's not an application. in other words, the icon will display as a plain vanilla folder.
If that's the case, then right click on your site and click on properties. Go down to where it says application name and click on 'create'. After that click on the 'documents' tab and add your default pages. For example yours would be 'index.html.' try that or...
possible solution #2: You might have to have to map the htm extension to the httpHandlers element in your Web.config file since it's probably not already mapped.
adding <add path="*.htm" verb="*" type="System.Web.StaticFileHandler" /> to that element should work.
BTW, I'm not a genius,...I got the the second possible solutions from this link:
http://support.microsoft.com/kb/909641
just in case you don't have the handlers because I just checked some of my webconfig files on my work computer and didnt have them, you might be able to get a way with adding this to your webconfig file :
Here's the link that explains how to do that: http://www.15seconds.com/issue/020417.htm
possible solution #1: Did you create a application out of your site folder located in your wwwroot directory? If not go to IIS and click on your site. If it doesn't display as a small icon of an open box with a small world inside it, then it's not an application. in other words, the icon will display as a plain vanilla folder.
If that's the case, then right click on your site and click on properties. Go down to where it says application name and click on 'create'. After that click on the 'documents' tab and add your default pages. For example yours would be 'index.html.' try that or...
possible solution #2: You might have to have to map the htm extension to the httpHandlers element in your Web.config file since it's probably not already mapped.
adding <add path="*.htm" verb="*" type="System.Web.StaticFileHandler" /> to that element should work.
BTW, I'm not a genius,...I got the the second possible solutions from this link:
http://support.microsoft.com/kb/909641
just in case you don't have the handlers because I just checked some of my webconfig files on my work computer and didnt have them, you might be able to get a way with adding this to your webconfig file :
<httpHandlers> <add path="*.htm" verb="*" type="System.Web.StaticFileHandler" /> </httpHandlers>
Here's the link that explains how to do that: http://www.15seconds.com/issue/020417.htm
Last edited by swaters86 : Dec 15th, 2007 at 11:59 pm. Reason: forgot to add link that explains httpHandlers
•
•
Join Date: Dec 2007
Posts: 75
Reputation:
Rep Power: 1
Solved Threads: 10
IF all you see on the browser is:
Cool! My own server home page.
Then your server is running correctly. The browser will not display the HTML markup. As a matter of fact, if you really want to see the html markup, open your page via Firefox and hit Ctrl+U to view the HTML, OR in IE, click View > source.
Cool! My own server home page.
Then your server is running correctly. The browser will not display the HTML markup. As a matter of fact, if you really want to see the html markup, open your page via Firefox and hit Ctrl+U to view the HTML, OR in IE, click View > source.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
- IIS Installation (ASP.NET)
- Another version of ".aspx won't run on IIS" (ASP.NET)
- pws setup (ASP)
Other Threads in the ASP Forum
- Previous Thread: Urgent help needed.
- Next Thread: to array or not to array



Linear Mode