HTTP error 500.19-Internal Server Error
The requested page cannot be accessed because the relevant configuration data for the page is invalid.
Detailed error information:
Module: IIS Web Core
Notice: BeginRequest
error code: 0x800700b7
Configuration error: When the unique key attribute “name” is set to “ScriptHandlerFactory”, duplicate collection items of type “add” cannot be added
Because the child site inherits the web.config of the parent site
Because the child site inherits the web.config of the parent site
<location path="." allowOverride="true" inheritInChildApplications="false"> /* Wrap <system.web> with location in the web.config file </system.web> */ // If it doesn't work, wrap all configurations with the <add> attribute in location </location>
For example: system.web, system.webServer, ApplicationConfiguration and other configuration
locations with add attributes only need to be written once
Make the subsite not inherit the web.config of the parent site
Read More:
- Windows 7 IIS (HTTP Error 500.21-Internal Server Error) solution
- HTTP Error 401.3 – Unauthorized Error – While creating IIS 7.0 web site on Windows 7
- IIS 404 The page cannot be displayed because an internal server error has occurred
- [Solved] HTTP Error 405.0-Method Not Allowed occurs in the Put operation of the REST service on IIS7.5
- [Solved] ASP Website Error: An error occurred on the server when processing the URL.
- [Solved] Asp.Net Core IIS Error: HTTP Error 500.30 – ASP.NET Core app failed to start
- JSP web.xml file header web app error [How to Solve]
- django Internal server error 500 Modify source code to view print errors
- Start error in maven web project java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener
- How to Solve Internal Server Error: /swagger/v1/swagger.json
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- How to Fix IIS7.5 Disallowed Parent Path Error
- [vite] Internal server error:options.devServer.transformWidthEsBuild is not a function…
- [Solved] laravel Project Deploy Error: No input file specified.
- [Solved] System.InvalidOperationException: Failed to deploy distro docker-desktop……
- Springboot Error: There was an unexpected error (type = internal server error, status = 500)
- [Solved] Kettle Error: ../deploy does not exist, please create it.
- [Solved] Ureport2 export word error: unable to access this website
- Kubernetes create secret Error: Error from server (InternalError): Internal error occurred…
- Cordova – CordovaError: Promise rejected with non-error: ‘ios-deploy was not found