Previous Next

Thread: http://localhost login dialog???

Last post 07-14-2008 11:35 PM by dunil. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 09-17-2007, 6:58 PM

    • Zootopian
    • Not Ranked
    • Joined on 09-16-2007, 10:15 AM
    • Posts 1
    • Zootopian

    http://localhost login dialog???

    I'm new to IIS and have installed it on my computer running Windows XP Professional (after finding out that Home Edition doesn't cannot run it). When selecting it from the Control Panel, Add / Remove Windows Components I selected all the components. After installing all the various .NET updates from the Microsoft Windows Update website, when I type http://localhost into my browser I receive a Connect to PCName dialog box asking for a username and password. Stopping me from displaying the default website created by IIS. Can someone help in regards to getting around this login screen? Just so you know, I'm really new to IIS and have only been playing around with it for a week or so, so if you could be specific that would be great. Thanks.
     

  • 09-18-2007, 4:20 AM In reply to

    • qbernard
    • Top 10 Contributor
    • Joined on 03-26-2003, 2:12 AM
    • Malaysia
    • Posts 2,203
    • IIS MVPs
    • qbernard

    Re: http://localhost login dialog???

    You got prompt either the anonymous access was not configured or the anonymous user doesn't has permission to read the page.

    Since this is fresh install, if you login as local administrator, by design it should works. Can you go to c:\inetpub\wwwroot\ create a hello.html with a simple hello msgs, then browse http://localhost/hello.html 

    to check authentication method - go to IIS Manager, right click on the web site, property - directory security tab, anonymou section, click edit, ensure anonymous access is checked. then go to windows explorer to check on permission. make sure iusr_computer name has read access. detail.
    How to set, view, change, or remove file and folder permissions in Windows XP
    http://support.microsoft.com/Default.aspx?id=308418

     

     

    Cheers,
    Bernard Cheah
  • 10-07-2007, 3:52 PM In reply to

    • chimpy
    • Not Ranked
    • Joined on 10-07-2007, 7:45 PM
    • Posts 1
    • chimpy

    Re: http://localhost login dialog???

    Myeah, I had the same problem but I couldn't resolve it by changing the security settings.

    BUT.. when I surfed using my computername instead of "localhost" everything went fine. I didn't get the "log in"-security dialogbox. Does anyone know why and how to fix this? Or is this yet another example of "Microsoft magic"?

  • 10-08-2007, 12:06 AM In reply to

    • qbernard
    • Top 10 Contributor
    • Joined on 03-26-2003, 2:12 AM
    • Malaysia
    • Posts 2,203
    • IIS MVPs
    • qbernard

    Re: http://localhost login dialog???

    Mmm.... if computername works, should does localhost. are they both the same website ? can you see the log entries for both access ?

    Cheers,
    Bernard Cheah
  • 02-10-2008, 11:41 AM In reply to

    • doniking
    • Not Ranked
    • Joined on 02-10-2008, 4:38 PM
    • Posts 1
    • doniking

    Re: http://localhost login dialog???

    I have my client has this problem too.
    He has several website placed on 1 IIS server.
    After doing windows update, only 1 single website was affected by this update. It lost its anonymous permission.
    This was happened several times after every windows update and just always that website.

    Does anybody know why?


     

  • 02-10-2008, 2:13 PM In reply to

    Re: http://localhost login dialog???

    chimpy:

    BUT.. when I surfed using my computername instead of "localhost" everything went fine. I didn't get the "log in"-security dialogbox. Does anyone know why and how to fix this? Or is this yet another example of "Microsoft magic"?

     

    It's your browser.  IE won't pass credentials to an untrusted zone.  Your system name is trusted, localhost or the IP is not necessarily.  Add localhost to the intranet zone in your browser's security.

    Or if you truly wnat anonymous access, ensure only anonymous authentication is checked.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 07-14-2008, 11:35 PM In reply to

    • dunil
    • Not Ranked
    • Joined on 07-14-2008, 11:27 PM
    • Posts 1
    • dunil

    Re: http://localhost login dialog???

     

    well friends here is an sol for this problem go to properties tab the directory security---> edit---> enable basic windows authentication.....

     

     

    now go to inetpub folder before that go tot tool--> folder option-->view--> click on simple file sharing remove tha option then ok

     

    now r click on inetpub prop--> security-->advanced--> click on inhert parent checkbox then dialog box will come-- click on remove

    now come back then click on add-->advanced--->find now--> ad iuser and admin also give them full control

     

    finish your job

     now u can access iis

Page 1 of 1 (7 items)
Page view counter