Background:
The company has suddenly had a lot more. NET system, the leader arranged me to deploy, so tried, also encountered many pits, before deploying the. NET system, you need to start the IIS service
First, open the IIS service:
Go to the Windows features window, then see the Internet Information Service options, and then follow the image settings, Ps: The option to play √ is selected below, the square ring below according to the selection of the image to play √.
Click the inverted triangle on the left, and you'll see the default Web site below the website, and then double-click ASP under IIS.
In the features view, click Browse Directory, then on the right will appear the action prompt, click Open function.
Problems encountered:
1. IIS7/8 HTTP error 500.19 errors 0x80070021
Workaround:
IIS7.0 security settings file in%windir%\system32\inetsrv \config\ ApplicationHost.config, this defines the global security settings for the server, but the Web. config of the application can implement some of its configuration. Overrides are not allowed by default.
So first modify the ApplicationHost.config file, so that the Web program can overwrite the server's global security configuration, open handlers and modules permissions, that is, the change from deny to allow, as follows:
<section name= "Handlers" overridemodedefault= "Allow"/>
<section name= "Modules" allowdefinition= "MachineToApplication" overridemodedefault= "Allow"/>
2. HTTP Error 500.21-internal Server error: The managed handler is used, but ASP. NET is not installed or is not fully installed.
Workaround:
This is ASP. NET Framework installation is not complete caused by
CMD under Input:
"%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe"-iru-enable
Reference Address:
Https://jingyan.baidu.com/article/15622f2410f770fdfcbea5d3.html
Https://jingyan.baidu.com/article/219f4bf723bcb2de442d38ed.html
Https://jingyan.baidu.com/article/948f592402ae71d80ef5f967.html
Https://jingyan.baidu.com/article/219f4bf7df5c86de442d388d.html
IIS deployment. NET System