Windows – How to setup IIS 6 with anonymous access for local asp.net webforms development

iisiis-6windows-authentication

When I setup IIS6 to develop projects locally I have to enable "Integrated Windows Authentication" under directory security in order for my CSS & Images to show up. (Note: I have double checked that network service has rights to all directories in my web application)

However this often causes my browser to prompt me for windows login username and password when I am running the application.

Is there anyway to get around entering a windows login password all the time ?

(I am using windows xp pro 64bit)

Best Solution

Maybe it is some problem with the kerberos authentication to your web site. Just disable it on your site. from the c:\Inetpub\AdminScripts directory run this command.

cscript adsutil.vbs set w3svc/WebSite/root/NTAuthenticationProviders "NTLM"

Or change the authentication to anonymous. And make sure that the user in the directory security tab (IUSR_computername) has access to said directories. It is not the application pool user who access files and other resources.