Wednesday, January 13, 2010

Serving websites on IIS 7 on Windows Server 2008 (Error 403.1 and 500.19)

Problem:
When I setup IIS 7 on Windows Server 2008 and started to create a CLASSIC ASP website (I think this is also applicable to ASP.Net sites too), I get an HTTP 500.19 Error. Something about not having authority to access the web.config file.  After some changing of access rights, I then get a HTTP 403.1 error instead.

Answer:
In the C:\inetpub\wwwroot (and all sub-directories), ensure that IUSR and IIS_IUSR have READ rights (no need the Directory Listing, Modify nor Write access).

No comments:

Post a Comment