Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3931762
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:22:59+00:00 2026-05-19T23:22:59+00:00

I have a web site using .NET 4 and ASP.NET MVC3 running in IIS

  • 0

I have a web site using .NET 4 and ASP.NET MVC3 running in IIS 7.5. I get the following 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”.

I found a solution here, however setting overrideModeDefault to Allow for both handlers and modules seems to have no effect on my site as I still get the 500.19 error. I tried restarting IIS and searching for other possible config files but could not find any. I’m out of ideas and every site I’ve looked at suggesting the above solution says to change it, save and you’re done, so I’m at a loss on the problem. The only other thing I haven’t done is restarted the server, but nothing has suggested this should be necessary.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T23:23:00+00:00Added an answer on May 19, 2026 at 11:23 pm

    I would recommend using appcmd.exe to allow overriding the different configuration sections. More info on that can be found at (http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/).

    To answer your question directly, you can globally unlock the config section using the following command.

    %windir%\system32\inetsrv\appcmd.exe unlock config -section:path/to/section

    If you only want to unlock the config section for a certain site, you can also pass in the site name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web site written using ASP.NET MVC3. The site has one single
I have an ASP.NET 3.5 Web Site using the standard SQL Membership Provider. The
I have an ASP.NET web application the entire site is browsed over HTTPS using
I have this asp.NET web site that for some odd reason doesn't want to
I have an ASP.NET MVC 3 web site that uses Windows Authentication running under
I have a web project using asp.net mvc3. Now clients ask for a security
I have a forms login in my web site using ASP.NET MVC with C#.
I have something like this in Site.Master in an asp.net mvc3 (not razor) project:
I have an ASP.NET MVC 3 Beta application running on IIS. In my web.config
I've written a simple web application using asp.net mvc3 and I have a login

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.