Answered by:
Internal Server Error

Question
-
User-305496339 posted
I installed ELMAH Error Logging, but could not get it to work. So I uninstalled it and now I get the following error message when i run my application.
HTTP Error 500.22 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Thursday, May 17, 2018 2:54 PM
Answers
-
User753101303 posted
Hi,
According to https://stackoverflow.com/questions/7370513/http-error-500-22-internal-server-error-an-asp-net-setting-has-been-detected it might be a permission issue. You are logging where ?
Not sure if https://docs.microsoft.com/en-us/iis/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis could bring some more information about where it happens.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, May 17, 2018 3:27 PM -
User283571144 posted
HI rkrex,
According to the error message, I suggest you could try to modify your web application's app pool's Managed Pipeline from Integrated to Classic.
If this doesn't your issue, I suggest you could try to add below config into web config.
<system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="MyModule" type="[Namespace].[Class], [assembly]"/> </modules> <validation validateIntegratedModeConfiguration="false"/> </system.webServer>
Best Regards,
Brando
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, May 18, 2018 9:05 AM
All replies
-
User753101303 posted
Hi,
According to https://stackoverflow.com/questions/7370513/http-error-500-22-internal-server-error-an-asp-net-setting-has-been-detected it might be a permission issue. You are logging where ?
Not sure if https://docs.microsoft.com/en-us/iis/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis could bring some more information about where it happens.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, May 17, 2018 3:27 PM -
User283571144 posted
HI rkrex,
According to the error message, I suggest you could try to modify your web application's app pool's Managed Pipeline from Integrated to Classic.
If this doesn't your issue, I suggest you could try to add below config into web config.
<system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="MyModule" type="[Namespace].[Class], [assembly]"/> </modules> <validation validateIntegratedModeConfiguration="false"/> </system.webServer>
Best Regards,
Brando
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, May 18, 2018 9:05 AM