Forums - C# Corner

Forum guidelines
sony john

sony john

  • 1.8k
  • 37
  • 1.8k

HTTP Error 500.19 - Internal Server Error

Sep 4 2018 5:21 AM
Hi , I am using IIS 10 .My website is working fine , when I ran it on visual studio 2017 , v4.6 .But when I tried to host it in my IIS , it is showing below error.
 
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 \\?\E:\PGApplication\web.config
Config Source:
97: </modules> 98: <handlers> 99: <remove name="WebServiceHandlerFactory-Integrated"/>
 
I tried changing the applicationhost.config file's deny to allow . But showing some other issues. Can any one out there explain me a solution.I couldn't find out a solutio for this

Answers (2)