Win7 IIS (7.5) publishes ASP.

Source: Internet
Author: User

Operating system Win 7 Ultimate Edition

Development tools VS2015

Using technical IIS7.5 + MVC4.0

One, an error occurred after deploying the program on IIS-the current identity (NT authority/network SERVICE) does not have a "c:/windows/microsoft.net/framework/v4.0.30319/temporary Write access to ASP. NET Files:

This usually happens because the. NET Framework is installed before the IIS server is installed, so as long as IIS is re-enrolled in the. NET Framework, you can:

On the command line, enter the command:

C:/windows/microsoft.net/framework/v4.0.30319/aspnet_regiis-i–enable

Refresh the page, or restart IIS

Second, after the release of IIS will encounter Found 404 problem

At this point we need to check the IIS configuration

1. Add a project-specific application name to the application pool

1. Click on the Web name you published in IIS Admin

2. Click on handler Mappings

3. Click Add a wildcard script map

Win7 IIS (7.5) publishes ASP.

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.