5_2:iis_8_5_causes_http_error_500_19_internal_server_error

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

<Modules>
<remove name"ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler"
type="System.Web.Handlers.ScripModule, system.Web.Extensions, Version=3.5.0.0, 
Culture=Neutral, PublicKeyToken=31BF3856AD364E35"/>
</Modules>
5_2/iis_8_5_causes_http_error_500_19_internal_server_error.txt · Last modified: 2019/03/02 17:14 (external edit)