Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP Error 500.19 - Internal Server Error

Tags:

asp.net

I got this problem after deploying my web package to IIS:

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

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 Source:


119:     </modules>
120:     <handlers>
121:       <remove name="WebServiceHandlerFactory-Integrated" />

How can I solve this issue?

like image 587
olidev Avatar asked Sep 05 '26 14:09

olidev


1 Answers

See Scenario 7 on this page Troubleshooting HTTP 500.19 Errors in IIS 7, it looks pretty much identical to your error message.

One of the key points I think is the following:

This usually indicates that ASP.NET is either not installed or has corrupted/incomplete installation because installation of asp.net unlocks that section. Hence if this is the case, one should install asp.net feature from Server Manager (Under Web Server Role in Windows Server 2008 and in Program Features-> Application server in Vista/Windows7). This KB929772 talks about the ASP.NET installation failure reason.

If you're just doing this on your local desktop IIS rather than on a server you may possibly need to use aspnet_regiis to reregister .NET with IIS, although I'm not guaranteeing that will work to unlock the section.

like image 159
Nanhydrin Avatar answered Sep 07 '26 04:09

Nanhydrin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!