IIS configuration and error message Solution

Source: Internet
Author: User

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.

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.