Fixing HTTP Error 401.1 in IIS 7.5 on Windows 7
For a test I was trying to run a website on my local Windows 7 machine in IIS 7.5. I put the website files in my C:\inetpub\wwwroot\MyWebsite. I opened IIS 7.5 and right-clicked on Sites and selected "Add Web Site". In the "Add Web Site" dialog I entered the "Site name", "Physical path" as above and "Host name" and clicked "OK". For the "Select Application Pool" dialog I selected "Classic .NET AppPool" which is .Net 2.0 with Classic Pipeline. I double clicked on "Authentication" and disabled everything and enabled "Windows Authentication" as this is a local intranet website. In "Application Pools" I went into "Advanced Settings" for the "Classic .NET AppPool" and changed the Identity to "Custom account" and entered "my companies domain\my userid" and password, because that is how the website is run on the corporate server unde...