« Previous Next »

Thread: Trouble creating new website; local access only; Test Connection: Authorization failed

Last post 11-03-2009 12:29 AM by Leo Tang - MSFT. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 10-29-2009, 9:33 PM

    • IonDune
    • Not Ranked
    • Joined on 10-30-2009, 1:20 AM
    • Posts 2

    Trouble creating new website; local access only; Test Connection: Authorization failed

     I am in the process of trying to start some ASP .NET websites, so I installed Windows 7 Ultimate on an extra computer I had lying around and turned on the IIS Windows Feature. This is the first time I have used IIS, my only previous experience with a webserver being using Apache on an old XP machine. Using the default settings and adding a new website (I deleted the default website after having the exact same following problem and finding no solution), I get the following error under Test Connection -> Authorization:

     "The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again."

     The directory for the website is the default C:\inetpub\wwwroot\. I have checked and double checked that every single user has at least "Read" permission to that file, and added the user "IIS AppPool\DefaultWebsite" with "Read" permission to the directory ("DefaultWebsite" is the name of the website and corresponding application pool I created). I restarted the website and I still receive the error.

     As for connecting to the website, I can connect under http://localhost/ and http://127.0.0.1/ and the ip address of the server on my network (http://192.168.1.71) and see the default IIS webpage. If I try to connect to the website from another computer on my network using the network address, http://192.168.1.71, I get nothing.

     There seems to be some issue with permissions regarding my website, but I am at a loss for how it could have occurred on a fresh install of Windows 7 with a new website in the default IIS folder. Can anyone provide assistance?

     Thank you.

  • 10-29-2009, 10:12 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,412

    Re: Trouble creating new website; local access only; Test Connection: Authorization failed

    If you search around using Bing.com, you can see this is a boring false alarm.

    Regards,

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-30-2009, 2:15 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Trouble creating new website; local access only; Test Connection: Authorization failed

    Also for the connection error, you would need to open port 80 in the windows firewall.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-31-2009, 8:20 PM In reply to

    • IonDune
    • Not Ranked
    • Joined on 10-30-2009, 1:20 AM
    • Posts 2

    Re: Trouble creating new website; local access only; Test Connection: Authorization failed

     Thank you, I added the port exception and ignored the error and now its working locally on my LAN under the server's local IP address. I also forwarded port 80 to my server through my network setup, but when I try to connect to my website through my global network IP address, I get my network config. Is this because I am still connecting through intranet (ie., if someone connects from another network to my ip address will they get my website?), is it an issue with IIS (I remember connecting fine using my ip address back with Apache), or is it some other unrelated setting which I need to look into elsewhere?

     

    Thank you for your time.

  • 11-03-2009, 12:29 AM In reply to

    Re: Trouble creating new website; local access only; Test Connection: Authorization failed

    Hi,

    Hope this helpful for you:

    Check IIS network connectivity with PortCheck v2.0
    http://mvolo.com/blogs/serverside/archive/2008/01/23/Check-IIS-network-connectivity-with-PortCheck-v2.0.aspx

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (5 items)
Microsoft Communities