HTTP 500 internal server errors usually occur on websites and there are thousands of solutions. Below I will summarize several common solutions for HTTP 500 internal server errors.
If the solution cannot be solved, you can view: HTTP 500-internal server error (additional content)
Q: When a program debugging error occurs, why do some machines always encounter "HTTP Error 500.100-Internal Server Error-ASP error" without displaying specific error information?
Cause:
Specific error information is blocked in IE browser settings.
Solution:
1. Select IE browser-tool-Internet option.
2. In the advanced option box, select "show friendly HTTP Error message.
If the above method does not work, we can continue to look at it.
1. Run: regsvr32 % windir %/system32/vbscript. dll (in fact, this step can also be saved. Make sure to execute it if necessary)
2. Run: msdtc-resetlog
3. reinstall IIS
Note:
1. Microsoft only provides a management script adsutil. vbs with iis5. this script is located in the C: inetpubadminscripts subdirectory. First, register vbscript. dll.
2. msdtc.exe is a distributed transmission Coordination Program of Microsoft. This process calls Microsoft Personal Web Server and Microsoft SQL Server. This service is used to manage multiple servers and must be enabled properly.
(1) control panel> Management Tools> component services
(2) choose "component service"> "computer"> "my computer"> "COM application"> "IIS Out-Of-Process Pooled Applications"
3. if "IIS Out-Of-Process Pooled Applications" is not found, or you cannot open "COM application" after clicking "msdtc-resetlog", reinstall IIS.
If the above method does not work, we can continue to look at it.
You must log on to the computer as an administrator in three steps to provide sufficient operation permissions (IWAM uses IWAM_MYSERVER as an example ).
(1) change the password of the IWAM_MYSERVER account in Active Directory
Because the password of the IWAM account is controlled by the system and generated randomly, we don't know what it is. To complete the password synchronization in the following two steps, we must set the password of the IWAM account to a value we know.
1. Choose Start> program> Administrative Tools> Active Directory users and computers to start the Active Directory users and computers Management Unit.
2. Click "user", select "IWAM_MYSERVER" on the right, right-click and select "Reset Password (T )... ", in the Reset Password dialog box that appears, set a new password for IWAM_MYSERVER. Here we will set it to" Aboutnt2001 "(without quotation marks). OK, wait until the password is successfully modified.
(2) synchronize the password of IWAM_MYSERVER account in IIS metabase
This change may be too sensitive and important. Microsoft did not provide an explicit user interface for us to modify the IWAM_MYSERVER account password in IIS metabase, and only provided a management script adsutil with iis5. vbs. The script is located in the C: inetpubadminscripts subdirectory (the location may vary depending on the settings you set when installing IIS5 ).
The adsutil. vbs script has powerful functions, many parameters, and complex usage. Here we only provide the method to use this script to modify the IWAM_MYSERVER account password:
Adsutil SET w3svc/WAMUserPass Password
The "Password" parameter is the new Password of the IWAM account to be set. Therefore, the command to change the password of IWAM_MYSERVER in IIS metabase to "Aboutnt2001" is:
C: InetpubAdminScripts> adsutil SET w3svc/WAMUserPass "Aboutnt2001"
After the modification is successful, the system prompts the following:
WAMUserPass: (String) "Aboutnt2001"
(3) password of IWAM_MYSERVER used to synchronize COM + applications
The IWAM_MYSERVER password used to synchronize COM + applications. You can choose either the component service MMC management unit or the IWAM account synchronization script synciwam. vbs.
1. Use the component service MMC Management Unit
(1) Start the Component Service Management Unit: Choose Start> RUN> MMC to start the management console and open the Add/delete Management Unit dialog box, add the Component Service Management Unit.
(2) choose component service> Computer> my computer> COM + application> Out-Of-Process Pooled Applications ", right-click "Out-Of-Process Pooled Applications"-> "properties ".
(3) switch to the "sign" tab in the "Out-Of-Process Pooled Applications" attribute dialog box. "This application runs under the following accounts" and "this user" is selected, with the username "IWAM_MYSERVER ". These are all default values and do not need to be modified. Enter the correct password "Aboutnt2001" in the "password" and "Confirm Password" text boxes below to 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 ?" .
(5) If we set "application protection" for some other Web pages in IIS to "high (independent )", the IWAM account and password of the COM + application used by the WEB must also be synchronized. Repeat Step (1)-(4) To synchronize the IWAM account and password of the corresponding Out of process application.
2. Use the IWAM account synchronization script synciwam. vbs
In fact, Microsoft has discovered that the IWAM account has problems in password synchronization. Therefore, in the IIS5 management script, a script synciwam is written separately for the IWAM account and password synchronization. vbs. The script is located in the C: inetpubadminscripts subdirectory (the location may vary depending on the settings you set when installing IIS5 ).
Synciwam. vbs script is easy to use:
Cscript synciwam. vbs [-v |-h]
The "-v" parameter indicates that the entire script execution process is displayed in detail (recommended), and the "-h" parameter is used to display simple help information.
To synchronize the password of the IWAM_MYSERVER account in the COM + application, Run "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}
From the execution of the above script, we can see that using synciwam. vbs scripts is more comprehensive and fast than using component services. It first finds the IWAM account "IWAM_MYSERVER" from the metabase database of IIS, obtains the corresponding password "Aboutnt2001", and then finds all the defined IIS Applications and Out of process applications, and synchronize the IWAM account and password of each Out of process applications application one by one.
When using the synciwam. vbs script, you must ensure that the IIS metabase database and the IWAM password in Active Directory are consistent before running synciwam. vbs. Because synciwam. the vbs script obtains the IWAM account password from the IIS metabase database rather than from the Active Directory. If the password in IIS metabase is incorrect, synciwam. the password obtained by vbs is incorrect. When the synchronization operation is performed on "Updating Applications", the system reports a 80110414 error, that is, "The application {3D14228D-FBE1-11D0-995D-00C04FD919C1} cannot be found }".
Now, the password of the IWAM account in Active Directory, IIS metabase database, and COM + application has been synchronized successfully, and your ASP program can run again!