HTTP Error 500.22-internal Server error

Source: Internet
Author: User

HTTP Error 500.22-internal Server error detected an ASP. NET setting that is not applicable in integrated managed pipeline mode. The most probable cause:

This application defines the configuration in the System.web/httpmodules section.

actions you can try:

Migrate the configuration to the System.webserver/modules section. You can do this manually, or by using APPCMD on the command line. For example, run appcmd migrate config "Default Web site/"from the IIS Express installation directory. Migrating an application with APPCMD will enable it to work in integrated mode and continue to work in Classic mode and previous versions of IIS.

If you are sure you can ignore this error, you can disable it by setting System.webserver/[email protected] to false.

You can also switch applications to the Classic mode application pool. For example, run the appcmd set app "Default Web site/"/applicationpool: "Clr4classicapppool"from the IIS Express installation directory. Do this only if you cannot migrate the application.

Detailed error message:
module    con Figurationvalidationmodule
notification    beginrequest
handler    pagehandlerfactory-integrated-4.0
error code    0x80070032
The requested URL Http://localhost:2959/about.aspx
Physical path E:\**\**\**\about.aspx
Login method Not yet determined
Logged in user Not yet determined
Request Trace Directory C:\Users\Administrator\Documents\IISExpress\TraceLogFiles\MYWEB. Web
More information: Integration mode is the preferred mode for running ASP. NET applications on IIS 7.0 and later versions.

Workaround:

Method One: Modify the application pool managed pipeline mode to Classic mode

Method Two, modify the Web. config

<add type= "Urlrewriter.rewritermodule, Urlrewriter" name= "Rewritermodule"/>
</system.web>

Revision changed to

<system.webServer>
<modules>
<add type= "Urlrewriter.rewritermodule, Urlrewriter" name= "Rewritermodule"/>
</modules>
</system.webServer>
</configuration>

HTTP Error 500.22-internal Server error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.