iis7.5 Configuring. NET MVC Considerations

Source: Internet
Author: User
1. Application pool in Classic mode, framework4.0. There may be a permissions issue, workaround: The identity of the advanced settings 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: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll If you installed. NET in advance After the framework is installed IIS may not be able to run the site because. NETFramework is not registered and you need to run a registration. Workaround: in C:\WINDOWS\Microsoft.NET\Framework\

Find a directory to find a directory such as v4.0.x, a look at it is the Framework 4.0 directory, different versions may not be the same, because the total upgrade

Find Aspnet_regiis.exe double-click.

If it doesn't work, enter it in the run:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i

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.