KB0009024 IIS 8.5 causes HTTP error 500.19 - Internal Server error

When installing the PIAB web applaiction on to IIS 8.5 you may experience the above error with an error code on 0x80070021. Config error: This section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (OverideModeDefault=Deny) or set by a tag with overridemode=“deny” or the legacy allow override=False

This can be easily addressed by manually editing the web.config file for the web application

  1. Edit the web.config file in PROJECT in a box Professional\piabws\web.config
  2. Goto the section <system.webServer>/><modules> and comment that element out (as in the screenshot below).

Example Section of web.config to remove

<remove name"ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler"
type="System.Web.Handlers.ScripModule, system.Web.Extensions, Version=, 
Culture=Neutral, PublicKeyToken=31BF3856AD364E35"/>
4_2/kb0009024.txt · Last modified: 2017/06/22 13:16 (external edit)

Page Tools