Results 1 to 16 of 16

Thread: very newbie IIS question

  1. #1
    Guest

    Unhappy

    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.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    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]

  3. #3
    Guest

    Question

    That sounds right, expect that I don't have a domain? any ideas?

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    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]

  5. #5
    Guest
    I don't have a server, I am at home. All I have is two machines on a workgroup?

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Oooo,
    Is it win2k Pro you're talking about ?

    - jamie.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7
    Guest
    yes, I have win 2k pro service pack 1 if it helps any

  8. #8
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    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]

  9. #9
    Guest
    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

  10. #10
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    I was just about to say that ... er ...
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  11. #11
    Guest
    Beat ya!!!

    Did it make sense?

  12. #12
    Guest

    Talking

    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.

  13. #13
    Guest

    Thumbs up

    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.

  14. #14
    Guest
    I can't imagine using a 'puter without IIS anymore! (PWS will do at a stretch )

    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?!

  15. #15
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    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,

  16. #16
    Guest
    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
  •  



Click Here to Expand Forum to Full Width