+ Reply to Thread
Results 1 to 9 of 9

Thread: IIS Question

  1. #1
    Member
    Join Date
    Dec 2003
    Location
    NJ
    Posts
    47

    IIS Question

     
    I am more an Apache guy (Windows and Unix) but this time I don't have a choice so here goes:

    I have an asp app I copied to wwwroot\aspapp and when I go into the folder displays all the files in it, but when I click on the ASP file it gives me a 404 which I know is wrong. Scripts CAN execute, they have permission. Ideas?
    You're still using Windows? When are you going to upgrade to Linux?

  2. #2
    Did you try Google yet? Siliconjunkie's Avatar
    Join Date
    Feb 2003
    Location
    Buckhannon, WV
    Posts
    3,468
    Look at the logs and see what is 404ing. Not much to do with asp, something is calling a document that isnt there. If it was an execute permission problem it would be a 500 or a 403.
    My computer is bigger than yours!

  3. #3
    Member
    Join Date
    Dec 2003
    Location
    NJ
    Posts
    47
    I actually searched my machine for the log files because I couldn't find them heh (they still didn't show up... but I'm using XP Pro so they're probably in some wierd spot)... But I also forgot that I ran the IIS lockdown tool (which I did when I set this machine up a month ago)... The problem viola:


    Installed URLScan
    Removed script map: .asp, C:\WINDOWS\System32\inetsrv\asp.dll
    Removed script map: .cer, C:\WINDOWS\System32\inetsrv\asp.dll
    Removed script map: .cdx, C:\WINDOWS\System32\inetsrv\asp.dll
    Removed script map: .asa, C:\WINDOWS\System32\inetsrv\asp.dll
    Removed script map: .asp, C:\WINDOWS\System32\inetsrv\asp.dll
    Installed 404.dll to system32\inetsrv
    You're still using Windows? When are you going to upgrade to Linux?

  4. #4
    Member
    Join Date
    Dec 2003
    Location
    NJ
    Posts
    47
    C:\WINDOWS\system32\Logfiles\W3SVC1

    Is where the logs are... and the file extention is not txt so that's why they didn't show up.
    Last edited by trieder; December 16th, 2003 at 12:02 AM.
    You're still using Windows? When are you going to upgrade to Linux?

  5. #5
    Member capybara's Avatar
    Join Date
    Nov 2001
    Location
    san diego,20 minutes to TJ
    Posts
    436
    how are you trying to open the file. from IE did you enter
    http://servername/path/filename.asp
    my signature was so lame i deleted it.

  6. #6
    Member
    Join Date
    Dec 2003
    Location
    NJ
    Posts
    47
    Originally posted by capybara
    how are you trying to open the file. from IE did you enter
    http://servername/path/filename.asp
    Sure did! I messed around with the settings more, but it seems IIS configuration can get ugly especially if you never did it before.
    You're still using Windows? When are you going to upgrade to Linux?

  7. #7
    Member capybara's Avatar
    Join Date
    Nov 2001
    Location
    san diego,20 minutes to TJ
    Posts
    436
    well, heres my 0.02 worth. create a new dir., dont use
    wwwroot, its for default only and has screwy properties,
    permissions, and redirects. the new dir can be under inetpub
    or it can be virtual
    my signature was so lame i deleted it.

  8. #8
    Member
    Join Date
    Dec 2003
    Location
    NJ
    Posts
    47
    I should have just made it a Virtual Directory to being with, but I didn't feel like setting one up. In any event I got it to work (finally) by rerunning the lock down tool and making a few manual changes. I am disappointed, however, that I changed the port number for IIS to 8080 and it hasn't changed from 80 (ie I edited the registry just like Microsoft said and it still listens on 80 even after a service stop/reboot)

    Anyway, thanks for the help guys.
    You're still using Windows? When are you going to upgrade to Linux?

  9. #9
    Member capybara's Avatar
    Join Date
    Nov 2001
    Location
    san diego,20 minutes to TJ
    Posts
    436
    heres my xp-erience from my w2k server class at college
    (finals was 2 days ago). chapter 14 = iis. set up home directory
    c:\inetpub\test2. setup document at the top of the list as
    default.asp which is created and it runs fine when opened
    from explorer, click on the file, "open with" IE.
    now i go to IE, enter http://localhost:80
    and what comes up? a different file, iisstart.asp.
    wtf? neither the guy who sits next to me (a network admin)
    nor the teacher, could fix it.
    so you xperience not being able to set ports reminds me,
    iis sux. time to learn apache, huh?
    my signature was so lame i deleted it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews