Win + r run C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ aspnet_regiis.exe-I to re-register asp.net.
For a vista operating system, you must run the preceding path in the dos command window, And the dos window must be run as an administrator. Otherwise, the current operation may need to be upgraded.
Configuration error: you cannot use this configuration section in this path. This situation occurs if this section is locked at the parent level. The lock is set by default (overrideModeDefault = "Deny"), or is explicitly set by the position that contains overrideMode = "Deny" or the old allowOverride = "false.
Configuration File :\\? \ * \ Web. config
Source: 145: </modules>
146: 147: <remove name = "WebServiceHandlerFactory-ISAPI-2.0"/>
This error occurs because IIS 7 adopts a safer Web. Config Management Mechanism. By default, the configuration items are locked and cannot be changed. To cancel the lock, run the command line: "% windir % \ system32 \ inetsrv \ appcmd unlock config-section: system. webServer/handlers"
Iis restart command (16:03:04) label: iis it category: website construction
Iisreset [computername]
/RESTART stop and RESTART all Internet services.
/START all Internet services.
/STOP: STOP all Internet services.
/REBOOT restarts the computer.
/REBOOTONERROR if an error occurs when the Internet service is started, stopped, or restarted
Computer.
/NOFORCE
/TIMEOUT: val specifies the TIMEOUT value (in seconds
If you have specified the REBOOTONERROR parameter, You can restart it after timeout.
The default value of service restart is 20 seconds, and the value of stop is 60 seconds.
0 seconds.
/STATUS: displays the STATUS of all Internet services.
/ENABLE Internet service restart on the local system.
/DISABLE the restart of Internet services on the local system.