|
-
Jan 8th, 2001, 09:14 AM
#1
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.
-
Jan 9th, 2001, 03:27 AM
#2
Retired VBF Adm1nistrator
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.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 9th, 2001, 06:08 AM
#3
That sounds right, expect that I don't have a domain? any ideas?
-
Jan 9th, 2001, 06:35 AM
#4
Retired VBF Adm1nistrator
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.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 9th, 2001, 06:36 AM
#5
I don't have a server, I am at home. All I have is two machines on a workgroup?
-
Jan 9th, 2001, 06:40 AM
#6
Retired VBF Adm1nistrator
Oooo,
Is it win2k Pro you're talking about ?
- jamie.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 9th, 2001, 07:51 AM
#7
yes, I have win 2k pro service pack 1 if it helps any
-
Jan 9th, 2001, 07:58 AM
#8
Retired VBF Adm1nistrator
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
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 9th, 2001, 10:09 AM
#9
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
-
Jan 9th, 2001, 10:25 AM
#10
Retired VBF Adm1nistrator
I was just about to say that ... er ...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 9th, 2001, 10:26 AM
#11
Beat ya!!!
Did it make sense?
-
Jan 9th, 2001, 10:55 AM
#12
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.
-
Jan 9th, 2001, 08:04 PM
#13
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.
-
Jan 10th, 2001, 05:49 PM
#14
-
Jan 12th, 2001, 09:44 AM
#15
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,
-
Jan 12th, 2001, 10:03 AM
#16
That must be why I use Win2k Server...not Pro then.
I knew there was a good reason!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|