1

We have a ASP.Net MVC project that runs fine on our developer machines.

When we try and run it on a Windows 2008 machine we get the following error:

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".

The line on which it fails is:

<handlers>

I have a feeling that somewhere there is a setting that says that handlers cannot be overriden, but I cannot find it.

Thanks

Shiraz

2
  • what kind of developer machines do you have? os? iis version? Commented Jan 15, 2010 at 15:15
  • Developer machines are Windows XP, we run the solution from Visual Studio with the Cassini web server Commented Jan 15, 2010 at 15:19

1 Answer 1

1

Did you check in %windir%\system32\inetsrv\config\. ?

Further ...

<section name="handlers" overrideModeDefault="Deny" />

change this value from "Deny" to "Allow"

<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />

change this value from "Deny" to "Allow"

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.