Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 know I'm probably doing something terribly wrong, but I copied the source files from one computer to another running IIS7, then I visit the site and get this error:

Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module  IIS Web Core
Notification    BeginRequest
Handler Not yet determined
Error Code  0x80070021
Config Error    This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File \\?\C:\inetpub\wwwroot\mysite\mysite\web.config
Requested URL   http://localhost:80/mysite/mysite/default.aspx
Physical Path   C:\inetpub\wwwroot\mysite\mysite\default.aspx
Logon Method    Not yet determined
Logon User  Not yet determined
Config Source
   96:      </modules>
   97:      <handlers>
   98:          <remove name="WebServiceHandlerFactory-Integrated"/>

Any help appreciated!

share|improve this question

Is the Application Pool hosting this Application running in Classic Mode? The article Luke has pointed you too should provide the solution

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.