Teach you how to debug the IIS Information Server

  

The cause of the IIS server error is complicated. An error event is logged in the system log if the service fails to start, the IIS process is interrupted, or the site cannot start. Regardless of the error in IIS, you should use the Event Viewer to check the related events recorded in the system log before determining the troubleshooting scheme. Some errors are obviously caused by damage to the server hardware, while other errors due to software are often not noticeable. This section provides a guiding introduction to general IIS troubleshooting.

restart IIS


according to general troubleshooting methods, and troubleshooting Microsoft product solutions, most software problems can be solved by restarting the method. As one of the new features of IIS 5.0, we can restart the IIS service without restarting the computer. Even serious problems can be solved by this method. Restarting the IIS service can force the system to reset the memory space of the IIS process, so problems caused by memory errors can be resolved. The method of restarting IIS is mainly used in the following situations: the web application is flawed and cannot be effectively controlled; the web application is not working properly or is unstable. [/TD] [/TR][/TABLE] During the restart of the IIS service, all current connections cannot be retained, and all sites on the server will not work during the restart. If restarting the IIS service does not solve the problem, restarting the server will not work.

when the site application does not work properly, follow the steps below to restart the IIS Services server:

1. Expand the IIS node in the IIS Admin Control Tree and select the computer that needs to restart the IIS service.

2. Click the [Operation] menu and select [Restart IIS].

3. In the [Stop/Start/Restart] dialog box, select [Restart Server IIS] from the [What do you want to do with IIS] drop-down list, and click [OK].

4. The Closed] dialog box displays the progress of restarting IIS. If the dialog box does not respond for a long time, click [End Now] and repeat the above operation. //from the computer hardware and software described herein applied for www.45it.com

Note: You can not restart the operation of the above HTML-based IIS Manager (Remote Management Mode).

problem for the stability of a single site, without having to restart the whole IIS process, restart the site as long as you can. IIS debugging

Backup /Restore IIS


world server if there is a foolproof security plan that is backed up. It has been pointed out that the three most important tasks that a good system administrator does are backup, backup, and backup. Implementation Mechanism

IIS includes a similar meta-registry database: MetaBase, IIS configuration properties related to the site itself and save all metadata database in Windows 2000 and in MetaBase. Therefore, as long as the relevant registry and metabase are backed up, all the configurations related to the site can be saved. Even after deleting the site or even reinstalling IIS, you can still use the backup to restore the original state. Step

backup IIS follows:

1. Expand the IIS node in IIS Manager and select the computer you want to back up.

2. Click the [Operation] menu and select [Backup/Restore Configuration].
3. List all backup files and backup time in the [Backup] list in the [Backup/Restore Configuration] dialog box. Click the [Create Backup] button.

4. In the [Backup Configuration] dialog box, specify the name of the new backup and click [OK].

5. Click [Close] to complete the backup. Under

default, the backup file will be saved in Winntsystem32inetsrvMetaBack directory.

restore the backup method is similar, in [Backup /Restore Configuration] dialog box, select the [Backup] to back up a file list, click [Restore]. Then click [OK] in the prompt dialog box shown on the left, and after a while, the IIS server will return to the state it was in when it was backed up.

need to restore the backup server after reloading if the IIS, the recovery operation on the basis of the above-described, but also additional operations, the following steps:

1. At the command prompt, type cscript.exe X: InetPubAmdinScriptsAdsutil.vbs enumw3svc, where "X" is the drive letter where IIS is installed. From the listed settings, look for the value of WamUserName and the associated WAMUserPass.

2. Double-click [Administrative Tools] in the Control Panel, and then double-click [Computer Management].

3. Select [Local User Manager] and click [User]. Double-click the [IWAM_computername] user account. Type the WAMUserPass value found from the previous step and click OK.
4. In the [Configure Backup Name] dialog box, select the backup file you created, and then click [Restore]. The configuration will now be fully restored.

IIS debugging


TCP /IP troubleshooting

TCP /IP protocol problems are often the cause IIS not working properly. When IIS has an error but can judge that there is no problem with the IIS service itself, it is necessary to consider whether there is a problem with the network connection. After simply eliminating the problem caused by network hardware damage, our attention should focus on the network protocol, mainly TCP/IP. Agreement.

Windows 2000 provides a range of TCP/IP troubleshooting tools. These tools, based primarily on command prompts, provide a powerful means of diagnosing network problems.

use the ipconfig tool to check TCP /IP configuration

ipconfig is a command to view and manage client TCP /IP configuration status information line tool. At the command prompt, type: ipconfig and press Enter to get the basic TCP/IP configuration properties of the computer as shown on the right, including the IP address, subnet mask, and default gateway.

at the command prompt, type: ipconfig /all and press Enter to give detailed mode TCP /IP configuration state, in addition to the basic information, further comprising a host name, DNS settings, setting the WINS, DHCP settings, and TCP/IP information such as physical address and node type.

If the computer is DHCP-enabled and use the DHCP server to obtain configuration, you can use the ipconfig /renew command to refresh the lease began. You can also use the ipconfig command with the /release option to immediately release the host's current DHCP configuration.

for Windows 95 and Windows 98 clients, use the winipcfg command instead of ipconfig command.

use the ping command to test the connection

Ping command help to verify IP-level, identify and solve problems, it can send an ICMP echo request to a target host name or IP address Ping. Use Ping when you need to verify that the host can connect to TCP/IP networks and network resources.

Ping command is actually sent to the plurality of target host (default 4) data packet, if the communication is possible between the local computer and the target host, the destination host will reply a response message as shown in the upper right in FIG. The response information includes response time and TTL value. Successful Ping the same host indicates that IP data can be transferred between the local and target hosts. //from the computer hardware and software described herein applied for www.45it.com

If the timeout message is received, as shown below right, then the TCP /IP between a local host and target host connection can not be established, possible causes include a network failure, the error protocol and TCP /IP configuration errors when the network connectivity confirmation, Ping test should be in the following order:

1. Ping the local loop address 127.0.0.1 to determine if the local TCP/IP configuration is correct.

at the command prompt, type Ping 127.0.0.1.

2. Ping the local address and verify that the local IP address is set correctly.

3. Ping the default gateway address to verify communication with hosts outside the local subnet.

4. Ping the host on the remote subnet to verify that it can communicate remotely through the router.

If the above can be obtained in response to the Ping command are described TCP /IP can be configured to support network communications. Otherwise, perform a setup check for the corresponding network component.

use netstat tool to display connection statistics

can use the netstat command to display protocol statistics and current TCP /IP connections.

netstat -a command displays all connections, and netstat -r display routing tables and active connections. The netstat -e command displays Ethernet statistics, while netstat -s displays statistics for each protocol.

If you use netstat -n, you can not convert addresses and port numbers to names.

Copyright © Windows knowledge All Rights Reserved