Forum Moderators: phranque

Message Too Old, No Replies

IIS Problem

Not sure how to setup IIS

         

debyteky

1:18 pm on Aug 8, 2003 (gmt 0)

10+ Year Member



I have a small in-house web site that is using ASP. I have never setup IIS before. I can't get the page to work correctly. I copied the site into the wwwroot folder, was I supposed to do that? I think the problem lies in how IIS is setup. Could someone please help me check the settings in IIS to make sure it's running correctly.

korkus2000

1:20 pm on Aug 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld debyteky,

Yes you should put it in the wwwroot. That will make a virtual folder for you. If you type in the machine_name/site_folder_name what happens? What happens when you just hit machine_name or localhost?

debyteky

1:44 pm on Aug 8, 2003 (gmt 0)

10+ Year Member



It says the page cannot be found. Should I place the webiste folder or just the contents of the folder into wwwroot? I know these are elementary questions but I just don't know. I've been tasked with this project and I'm blind as a bat!

korkus2000

1:45 pm on Aug 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The website folder. What happens when you hit localhost?

debyteky

1:48 pm on Aug 8, 2003 (gmt 0)

10+ Year Member



When I hit localhost the IIS help comes up

korkus2000

1:49 pm on Aug 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put the folder in the wwwroot and try and hit localhost/foldername/filenamethatexists.htm

Do you have a page set up called default.htm or defualt.asp?

debyteky

1:53 pm on Aug 8, 2003 (gmt 0)

10+ Year Member



It says the page cannot be found

korkus2000

2:01 pm on Aug 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this:

[microsoft.com...]

You IIS admin is in administration tools in your control panel.

This may also help:
[support.microsoft.com...]

mattur

3:31 pm on Aug 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you've created a page called "mypage.asp" in the wwwroot folder, but when you go to http localhost/mypage.asp and it says file not found, it could be the IIS user does not have permissions on the folder/file.

The IIS user (the user account the web server runs "as") is usually called iusr_<machinename>. Go into Explorer, right click, select properties then security to check permissions (this is assuming the disk is formatted as NTFS). HTH :)

debyteky

4:25 pm on Aug 8, 2003 (gmt 0)

10+ Year Member



I checked the permissions and made the changes but that still didn't get the site to come up correctly. I keep getting this page cannot be displayed when it's bringing up the asp page.

mattur

11:59 pm on Aug 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Some other things to check: scripting is enabled on the folder, does a simple hello world asp page work?, look in the event log for anything IIS related, check the server log files in C:\WINDOWS\system32\Logfiles\W3SVC1 for clues eg server status, requested uri ...

waitman

5:13 pm on Aug 11, 2003 (gmt 0)

10+ Year Member



I recommend that you disable the default site and create a "new site". Make sure you set all the host header addresses using the "advanced" button on the first tab of the properties for the web site.

Don't put web content on your C:\ drive. bad idear. Create a partition or better another drive and put the stuff on that drive.

Take care,