In C#/ASP.NET What is this config error and how do I deal with it?

Posted by: alard1978 on 15 September 2017, 3:22 am EST

    • Post Options:
    • Link

    Posted 15 September 2017, 3:22 am EST

    I am getting an error: “The requested page cannot be accessed because the related configuration data for the page is invalid.”

    In more detail, the config error is: “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”.”

    Also inside my visual studio, I get the error: “It is an error to use a section registered as allowDefinition = “MachineToApplication” beyond application level. This error can be used by a virtual directory not being configured as an application in IIS.”

    We are running Windows Server 2008 hosted at http://hostforlife.eu

    Please help! Thankss!

  • Posted 15 September 2017, 3:22 am EST

    Hello,

    This is a generic error and not Specific to Spread for ASP.NET. You can check the following links for similar reported issues:

    http://stackoverflow.com/questions/9794985/iis-this-configuration-section-cannot-be-used-at-this-path-configuration-lock

    http://stackoverflow.com/questions/9300927/error-to-use-a-section-registered-as-allowdefinition-machinetoapplication-beyo

    Unfortunately I am unable to offer any other suggestions with the available information.

    Regards,

    Sankalp

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels