Win7 iis7 ASP. NET mvc3.0 deployment problems win7 iis7 ASP. NET mvc3.0 deployment problems

Source: Internet
Author: User
Win7 iis7 ASP. NET mvc3.0 deployment problems

1. ApplicationProgramThe pool adopts the Classic mode, framework4.0. There may be permission issues. Solution: Set the identifier of the advanced settings to LocalSystem.

Generally, MVC adopts the integration mode. Why should I select the Classic mode? Because you need to identify the httpmodules configuration.

2. Open the handler ing settings of IIS, and "add wildcard script ing"

Request Path :*

Executable File: C: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319 \ aspnet_isapi.dll

Name: MVC

3. You may also encounter a situation where other pages or JS cannot be accessed in addition to handling routing access. The solution on the internet is as follows:

Set in Web. config

< System. Web >
< Buildproviders >
< Add Extension = "*" Type = "System. Web. Compilation. pagebuildprovider" />
</ Buildproviders >
< Httphandlers >
< Add Verb = "*" Path = "*" Type = "System. Web. staticfilehandler" />
</ Httphandlers >
</ System. Web >

1. The application pool adopts the Classic mode, framework4.0. There may be permission issues. Solution: Set the identifier of the advanced settings to LocalSystem.

Generally, MVC adopts the integration mode. Why should I select the Classic mode? Because you need to identify the httpmodules configuration.

2. Open the handler ing settings of IIS, and "add wildcard script ing"

Request Path :*

Executable File: C: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319 \ aspnet_isapi.dll

Name: MVC

3. You may also encounter a situation where other pages or JS cannot be accessed in addition to handling routing access. The solution on the internet is as follows:

Set in Web. config

< System. Web >
< Buildproviders >
< Add Extension = "*" Type = "System. Web. Compilation. pagebuildprovider" />
</ Buildproviders >
< Httphandlers >
< Add Verb = "*" Path = "*" Type = "System. Web. staticfilehandler" />
</ Httphandlers >
</ System. Web >
Related Article

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.