Click to See Complete Forum and Search --> : very newbie IIS question
I am trying to study for the 70-175 exam, and part of it cover the IIS app. I have installed IIS on my system (win 2k sp1, with ie 5.5, vb 6.0 sp 4 since it might help) anyway I have build a very simple app as instructed by the sybex study guide. It consists of three pages on a start page and two details pages. The details pages only have a line identifing them as to detail1 and detail2 on them. The start page only has a link to each of the details pages on it using the URLfor command. That realy is about it. But when I go to run the app I get a popup asking for 1) User Name 2)Password 3)Domain I have tried the login id and passwords for my machine as well as anonymous, and my machine name and localhost for my domain. No matter what I try on the third attempt I get a "HTTP 401.1 - Unauthorized: Logon Failed Internet Information Services" error.
What am I doing wrong? I know this sounds like it should be simple but I am stumped.
plenderj
Jan 9th, 2001, 02:27 AM
Hi,
That Username/Password/Domain sounds like the normal domain login screen for windows.
Put in your username and password as they would appear in domain manager (or the win2k equivalent).
Hope that helps.
- jamie.
That sounds right, expect that I don't have a domain? any ideas?
plenderj
Jan 9th, 2001, 05:35 AM
Well,
Your server should have made itself part of a domain when you set it up.
Under NT, you could go into control panel , network, and on the first screen there you can tell the server that it is in a certain domain.
You could try that ...
- jamie.
I don't have a server, I am at home. All I have is two machines on a workgroup?
plenderj
Jan 9th, 2001, 05:40 AM
Oooo,
Is it win2k Pro you're talking about ?
- jamie.
yes, I have win 2k pro service pack 1 if it helps any
plenderj
Jan 9th, 2001, 06:58 AM
Well i dont know why its asking you for a domain then...
Check in control panel > network if you're actually in a domain (somehow).
If you are, enter that, otherwise, I'd try and login with the domain blank...
- jamie
Check the security settings for the folder where your pages are stored... make sure the use "IUSR_<<YOURMACHINENAME>>" has rights to view the contents of the folder. If it doesn't then IIS will ask your browser for a user with rights to the folder...if you're using IIS & IE on Win2k and the if username that you're logged into windows with doesn't have permission then IE will display a dialog box asking for username, password & domain.
Clear as mud?
Locate the folder where your pages are stored
Right click on it and choose Properties
Click on the Security tab
If there is a user listed as "IUSR_<<YOURMACHINENAME>>" then click it and make sure the read check box is checked
If not then click Add, find the "IUSR_<<YOURMACHINENAME>>" user (you might have to change the Look In combo), click Add then OK
Click OK again to close the Properties box
plenderj
Jan 9th, 2001, 09:25 AM
I was just about to say that ... er ... :)
:p Beat ya!!!
Did it make sense? :rolleyes:
thanks guy's that sounds about right. I will have to try it when I get home tonight, right now I am at work. But I will keep trying.
Thanks guy's that appears to have been my problem. Now I just have to learn the rest of this stuff, but that is all the fun right.
I can't imagine using a 'puter without IIS anymore! :) (PWS will do at a stretch :D )
I've even got IIS running on a VMWare machine on me PC at home!!! I guess that is goin a bit far...but hey! Do I look like I care?! :)
Serge
Jan 12th, 2001, 08:44 AM
Also, bare in mind that in Win2000 Professional you dont have a true IIS. You actually have PWS with IIS shell.
And you have only 5 connections at a time to that Web Server.
:(
I don't think you can actually use Win2000 Pro to be as a true server.
Regards,
That must be why I use Win2k Server...not Pro then.
I knew there was a good reason! :p
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.