HTTP 500 Internal Server error resolution
"Internal server Error" "Requested resource in use" solution [turn]
I. Problems that arise
windows2003 IIS6 Run ASP, HTTP 500-Internal server error
Is that the ASP tutorial program cannot browse but HTM static pages are unaffected
Change IE to show no friendly errors as follows: "The requested resource is in use"
Second, the first time to resolve
Search the relevant content on the Internet and find a solution article for the reasons:
Mainly due to the password of IWAM account in Active Directory, IIS metabase database tutorial and COM + application three places
An error caused an HTTP 500 internal error.
The corresponding solution is:
Synchronize the password for the IWAM account in Active Directory, IIS metabase database, and COM + applications.
The corresponding action with Google search can be found
And my machine is not an article the description of the "User name unknown or wrong password," such as the information log,
But the dead horse when the live Horse medicine, password synchronization, or not.
Third, the second resolution
Later, the rogue had to reload the system. System can be used when installed, when found installed rising (whether it is genuine or D version) after the appearance of "request
Resources in use "HTTP 500-Internal server error, heart an excited, think may be rising problem
Uninstall rising, ASP again good. I thought I had to install antivirus software.
Later try to install McAfee or not, here is estimated to be the bane of anti-virus software.
Inadvertently up the web forum, look and try Norton Symantec AntiVirus Small and medium Enterprise Edition,
Success
There is no longer a requested resource in use HTTP 500-Internal server error.
ASP finally ran up again.
At this time has been using Norton anti-virus software, but also the Enterprise version, the personal version of the image does not
Four, the last terminator
Online the day before yesterday to learn that this problem may be related to script errors,
Turn off all real-time monitoring of antivirus software, script monitoring.
In the DOS command line state, enter the following commands and press the ENTER key individually:
regsvr32 jscript.dll (Command function: Repair Java dynamic link library)
regsvr32 vbscript.dll (Command function: Repair VB dynamic link library)
Whether it's rising or McAfee antivirus software, just do it.
ASP no longer appears HTTP 500-Internal server error requested resource is in use.
Hoping to help a friend who has met the same problem
Knowing the cause of the HTTP 500 internal error is easier to solve, which is the password for manually synchronizing IWAM accounts in Active Directory, IIS metabase database, and COM + applications.
The specific operation in three steps, all need to log on to the computer as an administrator to provide sufficient operational rights (IWAM account to Iwam_myserver for example).
(i) Change the password for the Iwam_myserver account in Active Directory
Because IWAM account password by the system control, randomly generated, we do not know what, in order to complete the following two steps of the password synchronization work, we have to IWAM account password set to a value we know.
1. Select Start-> program-> Administrative Tools-> Active Directory Users and Computers to start the Active Directory Users and Computers snap-in.
2, click "User", select the right "Iwam_myserver", right-click Select "Reset Password (t) ...", in the pop-up Reset Password box to iwam_myserver set a new password, here we set to "aboutnt2001" (no quotes), OK, wait for password modification to succeed.
(ii) Synchronization of passwords for Iwam_myserver accounts in IIS metabase
Perhaps because of the sensitivity and importance of this change, Microsoft has not provided an explicit user interface for us to modify the Iwam_myserver account password in IIS metabase, only with IIS5 provided a management script adsutil.vbs, which is located in C: Inetpubadminscripts (location may vary depending on how you install IIS5).
The Adsutil.vbs script is powerful, has a lot of parameters and is complex to use, and only provides a way to modify the Iwam_myserver account password using this script:
adsutil set W3svc/wamuserpass password
The "password" parameter is the new password for the IWAM account you want to set up. Therefore, the command to modify the password for the Iwam_myserver account in IIS metabase to "aboutnt2001" is:
C:inetpubadminscripts>adsutil set W3svc/wamuserpass "aboutnt2001"
After a successful modification, the system will have the following prompts:
WAMUserPass: (String) "aboutnt2001"
(iii) iwam_myserver password for synchronizing COM + applications
To synchronize the iwam_myserver password used by COM + applications, there are two options: one is to use the Component Services MMC snap-in and the other is to use the IWAM Account Synchronization script Synciwam.vbs.
1. Use Component Services MMC snap-in
(1) Start Component Services Snap-in: Select Start-> run-> MMC, start the admin console, open the Add/Remove snap-in dialog box, add the Component Services snap-in.
(2) Locate "Component Services"-> "Computer"-> "My Computer"-> "COM + application"-> "Out-of-process Pooled Applications", right-click "Out-of-process Pooled Applications the "->" attribute.
(3) switch to the Flags tab of the Out-of-process Pooled Applications Properties dialog box. This application runs under the following account "This user" in the selection is selected and the username is "Iwam_myserver". These are all 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 is created by more than one external product." Are you sure you want to be supported by these products? "is OK.
(5) If we set some other Web application protection to high (standalone) in IIS, the IWAM account password for the COM + application used by the web will also need to be synchronized. Repeat (1)-(4) step, synchronize the other corresponding out of process application IWAM account password.
2, use IWAM Account Synchronization script Synciwam.vbs
In fact, Microsoft has found that the IWAM account in the password synchronization problem, so in the IIS5 management script for IWAM account password Synchronization write a script synciwam.vbs, this script is located in C: Inetpubadminscripts (location may vary depending on how you install IIS5).
Synciwam.vbs script usage is simpler:
cscript Synciwam.vbs [-v|-h]
The "-V" parameter represents the entire process of displaying script execution in detail (recommended), and the "-H" parameter is used to display simple help information.
We want to sync iwam_myserver account password in COM + application, only need to execute "cscript synciwam.vbs-v", as follows:
cscript c:inetpubadminscriptssynciwam.vbs-v
Microsoft (r) Windows Script Host version 5.6
Copyright (c) Microsoft Corporation 1996-2000. All rights reserved.
Wamusername:iwam_myserver
wamuserpass:aboutnt2001
IIS Applications defined:
Name, appisolated, package ID
W3SVC, 0, 3D14228C-FBE1-11D0-995D-00C04FD919C1}
Root, 2,
IISHelp, 2,
IISADMIN, 2,
IISSamples, 2,
MSADC, 2,
Root, 2,
IISADMIN, 2,
IISHelp, 2,
Root, 2,
Root, 2,
Out of process applications defined:
Count:1
3D14228D-FBE1-11D0-995D-00C04FD919C1}
Updating applications:
Name:iis out-of-process Pooled Applications key:3d14228d-fbe1-11d0-995d-00c04fd919c1}
As you can see from the execution of the above script, using Synciwam.vbs scripts is more comprehensive and quicker than using Component Services. It first finds the IWAM account "Iwam_myserver" from the IIS Metabase database and takes out the corresponding password "aboutnt2001" and finds all the defined IIS applications and out of process Applications and synchronizes the IWAM account password for each out of the process applications application.
When using the Synciwam.vbs script, be aware that before you run Synciwam.vbs, you must ensure that the IIS metabase database is consistent with the IWAM password in Active Directory. Because the Synciwam.vbs script obtains the password from the IIS metabase database instead of the IWAM account from Active Directory, if the password in the IIS metabase is incorrect, The password obtained by the Synciwam.vbs will also be incorrect, the synchronization operation to the "Updating Applications" system will report 80110414 errors, that is, the application is not found 3D14228D-FBE1-11D0-995D-00C04FD919C1} ".
OK, so far, IWAM account in Active Directory, IIS metabase database and COM + application three passwords have been synchronized successfully, your ASP program can also run!
After a successful modification, the system will have the following prompts:
---------------------------------------------------
After testing, the display should be
WAMUserPass: (String) "*******"
The final summary: The above method is not necessarily useful to you, I used the ghost installed, according to the above method to the last step is not, I looked at the system log is not installed in front of the two files, installed in Cmd line, and if you can see the system log according to the system log will be fast.