Ok, I have scoured online resources and applied all the suggested solutions.
I am setting up a simple website on Windows Server 2008 R2 under IIS 7.5 using the "ASP.NET v4.0" pool. I am setting this up as an application under Default Web Site with a different root. I keep getting the 403 Forbidden error.
I have:
- Installed asp.net using aspnet_regiis.exe -i (many times)
- Made sure my root directory (physical path) has permissions for
"IIS_IUSR" and "IUSR" users. - Made sure "Anonymous Authentication" is enabled and set to "Application Pool Identity"
- I have restarted IIS numerous times
- I have checked and double-checked every other configuration.
What's strange is that I have another application under Default Web Site and it works just fine.
Any suggestions will help. This shouldn't be so hard unless I am missing something obvious.
Best Answer
Ok, I am quite embarrassed but the over sight was that "Require SSL" was checked by default and that is the place I did not check. I guess it is because an SSL is bound to the Default Web Site. Removing that check made it work.
Hopefully this will help someone else.