dotnetster dotnetster - 1 year ago 105
ASP.NET (C#) Question

IIS 7.5 - 403 Forbidden

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:

  1. Installed using aspnet_regiis.exe -i (many times)

  2. Made sure my root directory (physical path) has permissions for
    "IIS_IUSR" and "IUSR" users.

  3. Made sure "Anonymous Authentication" is enabled and set to "Application Pool Identity"

  4. I have restarted IIS numerous times

  5. 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.

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download