IIS has a "requested resource in use" solution

  
                  

Description of the problem:
windows2003 IIS6 runs ASP, http 500 - internal server error. The asp program cannot be browsed but the htm static web page is not affected. Change IE to not show friendly error as follows: "The requested resource is in use"

Error Cause:
1. The single-machine version of the anti-virus software installed on the server, such as Rising 2005. The use of stand-alone version of antivirus on the server is generally not stable.
2, because the iwam account in the active directory, iis metabase database and com + application three passwords are not synchronized
3, opened the stand-alone version of the anti-virus script monitoring, causing script errors.

Corresponding solution:
1, uninstall the stand-alone version of anti-virus software, restart, replace the server version of anti-virus software. Such as Norton Symantec AntiVirus Small and Medium Business Edition.
2, see below for details. It’s long, it’s a bit patient to watch.
3, run regsvr32 jscript.dll and regsvr32 vbscript.dll re-register the dynamic link library of JAVA scripts and VB scripts.

How to manually synchronize iwam account passwords in active directory, iis metabase database and com+ application? The specific operation is divided into three steps, all need to log in to the computer as an administrator to provide sufficient operation rights (iwam account with iwam_myserver as an example).

A) Change the password of the iwam_myserver account in the active directory

Since the password of the iwam account is controlled by the system, it is randomly generated. We don't know what it is, in order to complete the password synchronization work of the following two steps. , we must set the password of the iwam account to a value we know.

1, select "Start" -> "Programs" -> "Administrative Tools" -> "active directory users and computers", start the "active directory Users and Computers" snap-in. //This article is quoted from www.45it.com computer software and hardware application network

2, click "user", select the right "iwam_myserver", right-click and select "reset password (t)..." In the dialog box for resetting the password, set the new password for iwam_myserver. Here we set it to "aboutnt2001" (without quotes), and confirm that the password is successfully modified.

(2) Synchronizing the password of the iwam_myserver account in the iis metabase

Maybe because this change is too sensitive and important, Microsoft did not provide an explicit way for us to modify the iwam_myserver account password in the iis metabase. User interface, only one management script adsutil.vbs is provided with iis5. This script is located in the c:\\inetpub\\adminscripts subdirectory (location may vary depending on the settings you have when installing iis5).

The adsutil.vbs script is powerful, with many parameters and complicated usage. Here only the method for modifying the iwam_myserver account password using this script is provided:

adsutil set w3svc/wamuserpass password

c:\\inetpub\\adminscripts>adsutil set w3svc/wamuserpass "aboutnt2001"

After the modification is successful, The system will have the following prompts:

wamuserpass: (string) "aboutnt2001"

(c) Synchronize the password of iwam_myserver used by com+ application

Used by sync com+ application Iwam_myserver password, we have two options: one is to use the component service mmc snap-in, the other is to use the iwam account synchronization script synciwam.vbs.

1. Use component service mmc management unit

(1) Start component service management unit: Select "Start" -> "Run" -> "mmc" to start the management console , open the Add/Remove Snap-in dialog box and add the Component Services snap-in.

(2) Find "Component Services" -> "Computer" -> "My Computer" -> "com+ Application" -> "out-of-process pooled applications", right Click "out-of-process pooled applications" -> "Properties".

(3) Switch to the "Markers" tab of the "out-of-process pooled applications" property dialog. "This application will run under the following account" selection "This user" will be selected, the username is "iwam_myserver". These are the defaults and do not have to be changed. Enter the correct password "aboutnt2001" in the "Password" and "Confirm Password" text boxes below to confirm the exit.

(4) If the system prompts "The application was created by more than one external product. Are you sure you want to be supported by these products?"

(5) If we set the "application protection" of some other webs to "high (independent)" in iis, then the iwam account password of the com+ application used by this web also needs to be synchronized. . Repeat steps (1)-(4) to synchronize the iwam account passwords of other corresponding out of process applications.

2, use iwam account synchronization script synciwam.vbs

In fact, Microsoft has found iwam account in the password synchronization problem, so in the iis5 management script separately for iwam account password synchronization A script synciwam.vbs is located in the c:\\inetpub\\adminscripts subdirectory (locations may vary depending on the settings you have when installing iis5).

synciwam.vbs script usage is relatively simple:

cscript synciwam.vbs [-v

Copyright © Windows knowledge All Rights Reserved