IIS7 website Publish common error problem solution Rollup _win Server

Source: Internet
Author: User

The example of this article for everyone to share the IIS7 website issues common problems, as well as the solution of the five problems for your reference, the specific contents are as follows

1, not a valid WIN32 bit application

Solution:

1), enter application pool = "Select the website =" Click on the right "advanced settings" = "To change the run 32-bit option to" True "

2. How to modify the version of the. NET Framework in IIS

3, publish MVC encountered HTTP Error 403.14-forbidden solution

Web.config add <modules runallmanagedmodulesforallrequests= "true"/>

As follows:

<system.webServer>
<validationvalidateintegratedmodeconfiguration= "false"/>
<modules Runallmanagedmodulesforallrequests= "true"/>

</system.webServer>

If not, please check the "handler mapping", if there is "extensionlessurlhandler-integrated-4.0", if not, please register. net4.0

Input in operation: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i

4, some of the system's own DLL can not find (For example: System.Web.Http.WebHost, etc.)

Solution:

This is because the appropriate assembly is missing. We can solve this problem by deploying these assemblies in the bin of the ASP.NETMVC3 application.
In the project to develop MVC applications, you should have referenced these assemblies, in Solution Manager, expand the references, select the assemblies used by the application, and in the Properties window, set the copy to local (CopyLocal) to True, and the assemblies will be replicated locally when the application is deployed. Then rebuild the project and republish it.

5. Report a file "is denied" ( for example: C:\CloundDCPublish\Run\denied\NRemedySerializers.xml is denied)

Solution : Add iis_iuser permissions to the folder where the file resides

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.