ASP. NET site Migration HTTP error 500.22-internal Server error detected not applicable in integrated managed pipeline mode

Source: Internet
Author: User
Premise: Today to do the site migration, the site a server on the migration to B server, a server is the environment is. NET 4.0, and B server is. Net2.0,a server IIS for 6.0,b Server IIS version 7.0 first, install the. NET4.0 Framework on the B server first. Second, back up the database for the a server and restore to Server B. The third step is to add the Index.aspx default page to the default document. fourth step, in the application pool, change the managed environment to integration, actually I tried the next is the Classic mode is also OK. Fifth Step, change the Web. config configuration file. First: Locate the node in Web. config <system.webServer> if not, create one of these nodes under the <configuration> node. Second: In <system.webserver Under the > node, insert the following configuration <validation validateintegratedmodeconfiguration= "false"/> Save, rebuild the solution, run->ok (note: Pipe mode or Integrated mode)

ASP. NET site Migration HTTP error 500.22-internal Server error detected not applicable in integrated managed pipeline mode

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.