User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Jul 2007
Posts: 30
Reputation: grii_19 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
grii_19 grii_19 is offline Offline
Light Poster

installed IIS yet cannot run asp files

  #1  
Dec 13th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation: jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough 
Rep Power: 30
Solved Threads: 264
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Microsoft Fanboy

Re: installed IIS yet cannot run asp files

  #2  
Dec 13th, 2007
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
Reply With Quote  
Join Date: Jul 2007
Posts: 30
Reputation: grii_19 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
grii_19 grii_19 is offline Offline
Light Poster

Re: installed IIS yet cannot run asp files

  #3  
Dec 13th, 2007
hey thx mate for the help ..
but it didnt helped ..
wonder why it yet syas page cannot be found
Reply With Quote  
Join Date: Dec 2007
Posts: 4
Reputation: zhk is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zhk zhk is offline Offline
Newbie Poster

Re: installed IIS yet cannot run asp files

  #4  
Dec 13th, 2007
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
-----------------------------------------------------
Last edited by zhk : Dec 13th, 2007 at 4:05 pm.
Reply With Quote  
Join Date: Jul 2007
Posts: 30
Reputation: grii_19 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
grii_19 grii_19 is offline Offline
Light Poster

Re: installed IIS yet cannot run asp files

  #5  
Dec 13th, 2007
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 ?
Reply With Quote  
Join Date: Dec 2007
Posts: 75
Reputation: hielo is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
hielo hielo is offline Offline
Junior Poster in Training

Re: installed IIS yet cannot run asp files

  #6  
Dec 14th, 2007
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.
Reply With Quote  
Join Date: Jul 2007
Posts: 30
Reputation: grii_19 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
grii_19 grii_19 is offline Offline
Light Poster

Re: installed IIS yet cannot run asp files

  #7  
Dec 15th, 2007
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 ??
Reply With Quote  
Join Date: Jul 2007
Posts: 24
Reputation: swaters86 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
swaters86 swaters86 is offline Offline
Newbie Poster

Re: installed IIS yet cannot run asp files

  #8  
Dec 15th, 2007
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 :


<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
Reply With Quote  
Join Date: Dec 2007
Posts: 75
Reputation: hielo is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
hielo hielo is offline Offline
Junior Poster in Training

Re: installed IIS yet cannot run asp files

  #9  
Dec 20th, 2007
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.
Reply With Quote  
Join Date: Jul 2007
Posts: 30
Reputation: grii_19 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
grii_19 grii_19 is offline Offline
Light Poster

Re: installed IIS yet cannot run asp files

  #10  
Dec 26th, 2007
hey hielo ....

but the query yet aint solve
i yet cant rus the asp files ...


how do i get them working ... ?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 10:29 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC