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 have this problem with my IIS7.

C:\Users\>%windir%\system32\inetsrv\appcmd.exe list site
ERROR ( message:Configuration error
Filename: redirection.config
Line Number: 0
Description: Cannot read configuration file due to insufficient permissions
. )

Every time I try to publish an ASP.NET app to my computer, I cannot use it because IIS cannot read the configuration file, and I don't know how to fix this problem.

I've found the file at C:\Windows\System32\inetsrv\config

An the permisions are for:

SYSTEM MyDomain/Me Administrators (MyPC\Administrators) TrustedInstaller

Is this correct?

Any idea?

Kind regards.

share|improve this question

Yes, you need to make sure that you run AppCmd.exe from an elevated command prompt, since otherwise you will not be running as Administrator.

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.