Handler question on IIS 8.5 with an ASP site

    Hi,

    I installed Windows 2012 R2 on a server to run a single ASP site.  Copied the content from a working copy running on a developer's machine and got the following error when I tried to access it in IE locally(I defined the url in the hosts file):


    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
       \\?\d:\sites\timberww\htdocs\web.config



    Requested URL
       http://timberww.webworldinc.com:80/

    Physical Path
       d:\sites\timberww\htdocs

    Logon Method
       Not yet determined

    Logon User
       Not yet determined




    Config Source:
      143:     </modules>
      144:     <handlers>
      145:       <remove name="WebServiceHandlerFactory-Integrated"/>

    Line 144 is actually highlighted in red.

    The full handlers block consists of:
        <handlers>
          <remove name="WebServiceHandlerFactory-Integrated"/>
          <remove name="ScriptHandlerFactory" />
          <remove name="ScriptHandlerFactoryAppServices" />
          <remove name="ScriptResource" />
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
               type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
               type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </handlers>

    Unfortunately I don't know squat about ASP sites, so I'm a bit in the dark on this one.  Can someone suggest a direction to head?

    Thanks much!

    --Ben
    Ben ConnerCTO, SAS developerAsked:
    Who is Participating?
    I wear a lot of hats...

    "The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

    Ryan ChongCommented:
    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"
    it seems that there could be many reasons and many suggestion to solve the above mentioned error.

    for me, i would go to Turn Windows features on or off, by selecting ASP and install it.

    SnapShot.png
    restart your IIS service after that and retry...

    alternatively, have you read this through and see if the suggestions worked to resolve the issue?

    IIS - this configuration section cannot be used at this path (configuration locking?)
    https://stackoverflow.com/questions/9794985/iis-this-configuration-section-cannot-be-used-at-this-path-configuration-lock
    0

    Experts Exchange Solution brought to you by

    Your issues matter to us.

    Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

    Start your 7-day free trial
    Ben ConnerCTO, SAS developerAuthor Commented:
    Thanks, will check that.  I didn't know ASP wasn't on by default.  Much appreciated.

    --Ben
    0
    Ben ConnerCTO, SAS developerAuthor Commented:
    That was exactly the issue; didn't know ASP doesn't get installed by default.  Thanks, Ryan!

    --Ben
    0
    Ryan ChongCommented:
    glad to help cheers
    0
    It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
    Windows Server 2012

    From novice to tech pro — start learning today.

    Question has a verified solution.

    Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

    Have a better answer? Share it in a comment.