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.