IIS Publishing site error collection (continuous update)

Source: Internet
Author: User

This article primarily collects errors that IIS encounters during the publishing site and provides workarounds. And the pro-test is feasible. If you are also having problems with IIS publishing your site, please leave a message to ask.

(1.)HTTP Error 500.21-internal Server errorhandler "webservicehandlerfactory-integrated" has an error module "Managedpipelinehandler" in its module list

Possible cause: Due to first installation. NETFramework 4.0, which is caused by IIS 7.5 after installation.

Solution: Execute the Command "CD C:\Windows\Microsoft.NET\Framework\v4.0.30319" and Go to "C:\Windows\Microsoft.NET\Framework\v4.0.30319" Directory
Then execute the command "aspnet_regiis.exe-i", register "aspnet_regiis", wait a moment, aspnet_regiis success. Problem is solved.

(2.)failed to load file or assembly "xxx.xx" or one of its dependencies. An attempt was made to load a program that is not properly formatted.

Possible cause: The operating system is 64-bit, but the published program refers to some 32-bit DLLs, so there is a compatibility issue.

Solution (a): if it is a 64-bit machine,iis--> application pool--Advanced settings--enable 32-bit applications: true.

Solution (ii): Modify the project Properties--to the target platform (e.g., x86\x64).

(3.)

Cond

IIS Publishing site error collection (continuous update)

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.