IIS7.5 deployment asp.net mvc3 Common problem resolution

Source: Internet
Author: User
1, the application pool adopts Classic mode, framework4.0. There may be a permissions problem, workaround: The identity of the advanced setting is set to LocalSystem.

General MVC uses integrated mode, why should I choose Classic mode? Because you want to identify the httpmodules configuration.



2, open the handler mapping settings for IIS, "Add script map"

Request Path: *

Executable file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll

3, you may also encounter situations, processing routing access, other pages or JS can not access the online solution:

Set in Web.config:

<system.web> 
	<!--Note: If there is an error, remove this segment buildproviders configuration--> 
	<buildProviders> 
	 <add extension= "*" type= "System.Web.Compilation.PageBuildProvider"/> 
	</buildProviders> 
	< httphandlers> 
	<add verb= "*" path= "*" type= "System.Web.StaticFileHandler"/> 
	 


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.