« Previous Next »

Thread: Pass through authentication fails

Last post 11-13-2008 2:03 PM by vzgIIS. 0 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (1 items)

Sort Posts:

  • 11-13-2008, 2:03 PM

    • vzgIIS
    • Not Ranked
    • Joined on 06-30-2008, 1:35 PM
    • Posts 7

    Pass through authentication fails

    I have a few virtual directories under the 'Default Web Site'..

     Only Basic Authentication is enabled.

    When I try 'Test Settings' for the virtual Directory, it gives me the following error:
    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.

    I saw this link (http://support.microsoft.com/?id=934515) speaking to this issue and also suggesting how to fix it. But, I do not know how to implement the steps mentioned under Resolution.

    I am aware of the workaround mentioned in the above link. That works for me. But I would like to do this programmatically.

    I tried the following:
    - Directory Browsing is enabled
    - Give the logged on user full permissions to the vdir folder
    - Give the logged on user full permissions to C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp and also C:\Windows\ServiceProfiles\LocalSystem\AppData\Local\Temp

    I saw the suggestion to give 'Network Service' full access to the vdir folder. I tried but I was not able to do this. Any suggestions on how to do this. I was not sure how to do this with <domain>\<computer_name>$ either. Any suggestions on how to do this?

    Any other suggestions on how to get this work?

     Thanks!

Page 1 of 1 (1 items)
Microsoft Communities