My Programming Weblog

IIS7 – Cannot read configuration file due to insufficient permissions

The last time I intensively used IIS (Internet Information Services) was back in the year 2000 when I hosted a ASP site on the local Windows 2000 server. Since then, Apache has become my only friend in the web server world.

Fast forward to present day with the current job where Microsoft technology is heavily based on, it’s time for me to get back on track with “almost-everything” Microsoft.

Today, I tried to set up an Asp.net site on my local machine with IIS7, and I got the following error:

exactly the same boat, trying to get back up to speed on .NYET after almost ten years away. My first reaction is pure horror. It’s like stepping back in time somehow; reduced flexibility, crippled dynamic languages, and user interfaces that seem to be geared at low-end IT personnel rather than Software Engineers…

Got this working alright but not based on suggestions above. My case is that am getting the 500 error running iis7 on a windows 2008 server in a domain. Just added a new user in the domain and basically allow read/execute access to the virtual directory or folder. Ensure that the virtual folder>basic settings> Connect As > Path credentials is set to a user with read/xecute access. You can test settings and both authentication and authorization should work. Cheers!

Thanks for a clear, simple set of instructions on how to solve the problem. They were so easy to follow that in solving this problem, I ended up with a 401.3 error that I have to solve now. 😉 (Not your fault, though…a different error = progress).

There should be a way to like this without having a wordpress account. This article was useful to me but I can’t easily like with without signing up for WordPress. I think more people should support Windows Live Authentication.