Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running IIS 8.0 locally on my machine for testing purposes. I have installed PHP through the web platform installer and everything is working correctly. The only issue I'm running into is the first request that's sent after the web server has started generates a 500.19 error. After the first initial request that generates the error everything works perfectly fine until the web server is shut down and started up again (or until my machine gets restarted). Here is a rundown of the error:

Module             IIS Web Core
Notification       BeginRequest
Handler            Not yet determined
Error Code         0x80070005
Config Error       Cannot read configuration file due to insufficient permissions
Config File        \\?\C:\Users\Aaron\Programming\aaronjwood\web.config

Requested URL      http://dev:80/aaronjwood
Physical Path      C:\Users\Aaron\Programming\aaronjwood
Logon Method       Not yet determined
Logon User         Not yet determined

I'm not using any kind of web.config file since all of the code I'm working on is either written in PHP or Perl. Is this because it's looking for a web.config file but can't find one? Is there a way to tell IIS not to look for one? I am much more experienced with Apache so this error is new to me.

share|improve this question
up vote 1 down vote accepted

I figured this out. It was a silly mistake on my part. I didn't have the appropriate permissions on the directory. I needed to add the IIS_IUSRS group to the directory; I incorrectly had the IUSR user which allowed everything to work but not without throwing that initial error first.

share|improve this answer

Please check the folder that contains your web.config file. if that is shared on the network and remove the sharing. Doing this resolved the issue for me .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.