IIS7 website Publishing FAQ and Solution Summary

Source: Internet
Author: User

1 . Not a valid WIN32-bit application

Solution:

1. Enter Application pool = "Select site =" Click on the right "advanced settings" = "To change the running 32-bit option to" True "

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

4. Publish the HTTP Error 403.14-forbidden solution encountered by MVC

Web. config adds <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

5, some of the system's own DLL can not be found (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 under the bin of the ASP. NET MVC3 application.
In projects that develop MVC applications, you should already reference these assemblies, expand references in Solution Manager, Select the assemblies used by the application, and in the Properties window, copy Local to True, and then deploy the application These assemblies will be copied locally. Then rebuild the project and republish it.

IIS7 website Publishing FAQ and Solution Summary

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.