500.19 error with IIS7.5

Viewed 14031

I am getting the following error, even after I unlock my website. Any reasons?

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

Module         CustomErrorModule
Notification   SendResponse
Handler        StaticFile
Error Code     0x80070021
Config Error   Lock violation
Config File    \\?\C:\Web\En\web.config

<validation validateIntegratedModeConfiguration="false"/>
<httpErrors errorMode="DetailedLocalOnly" defaultPath="/Oops.aspx" defaultResponseMode="ExecuteURL">
<clear></clear>

I have done the following in applicationHost.config

<location path="mysite.net" overrideMode="Allow">
    <system.webServer>
        <handlers />
        <httpErrors />
    </system.webServer>
</location>
6 Answers

I solved problem by doing this:

  1. Click "Start button"
  2. In the search box, enter "Turn windows features on or off"
  3. In the features window, Click: "Internet Information Services"
  4. Click: "World Wide Web Services"
  5. Click: "Application Development Features"
  6. Check (enable) the features. I checked all but CGI.
Related