IIS5 HTTP500 internal error analysis and solution

xiaoxiao2021-03-06  79

I. Error performance

IIS5 HTTP 500 internal server error is one of the mistakes we often encounter, its main error performance

It is the ASP program that cannot be browsed but the HTM static page is not affected. In addition, when the error occurs, the system event day

There will be corresponding records.

details as follows:

(1) Performance in IE

This error occurs when browsing the ASP page that is working properly:

Web pages cannot be displayed

There is a problem with the webpage you want to access, so you cannot display it.

Try the following *:

turn on

http://127.0.0.1

; Homepage, find links to the required information. Click Refresh button, or try again later. HTTP 500 - Internal server error Internet Information Services Technical Information (support personal) details: Microsoft Support either: Server Application ErrorThe server has encountered an error while loading an application during the processing of your request Please refer to the event log for more. Detail Information. (2) Security Log Record (2) Event Type: Failure Audit Source: Security Event Category: Login / Logout Event ID: 529 Date: 2001-9-9 Event: 11 : 17: 07 User: NT Authority / System: MyServer Description: Login Fail: Reason: Username Unknown or Password Error User Name: IWAM_MYSERVER Domain: Mydom Login Type: 4 Login Procedure: Advapi Authentication Package: Microsoft_Authentication_Package_V1_0 Workstation Name: MyServer event type: failed audit Event Source: Security Event Category: Account Login Events: 681 Date: 2001-9-9 Event: 11:17:07 User: NT Authority / System: MyServer Description: Log in to Account: iWam_Myserver Login User: Microsoft_Authentication_package_v1_0 From the workstation: MyServer is unsuccessful. Error code is: 3221225578 (3) Record in system logs (2) Event type: Error event Source: DCOM event Type: No event ID: 10004 Date: 2001-9-9 Event: 11:20:26 User: N / A computer: MyServer Description: DCOM encountered error "Unable to update your password. Provide a value that is not allowed in the password." And cannot log in to ./iwam_myserver to run the server: {3D14228D-FBE1-11D0- 995D-00c04FD919C1} Event type: Warning Event Source: W3SVC Event Type: No Event ID: 36 Date: 2001-9-9 Event: 11:20:26 User: N / A Computer: MyServer Description: The server fails to transfer to the application Program '/ LM / W3SVC / 4 / root'. Error is the 'RunaS format must be the / or just '. To get more information about this message, please visit the Microsoft Online Support Site:

http://www.microsoft.com/contentredirect.asp

;. II. Cause Analysis Comprehensive Analysis The above error performance We can see that the password error of the IWAM account (in my computer is IWAM_MYSERVER account), the HTTP 500 internal error is caused. Before detailed analysis of the reason for the internal error of the HTTP500, first make a brief introduction to the IWAM account: IWAM account is a built-in account that automatically established when installing IIS5, mainly for the Internet information service of the application outside the process. The name of the IWAM account will be different depending on each computer NetBIOS name. The general format is iWam_Machine, which is composed of the "iWam" prefix, the connection line "_" plus computer's NetBIOS name. My computer's NetBIOS name is MyServer, so my computer IWAM account is IWAM_MYSERVER, which is very similar to the naming method of IIS anonymous account isur_machine. After the IWAM account is established, it is used by the Active Directory, IIS Metabase database, and the COM application tripartite. The account password is saved separately by the triplet, and is responsible for the synchronization of the IWAM password saved by this triple. According to the common sense, we can rest assured by the system-responsible work, don't worry, but I don't know if it is bug or what is the reason for the system's password, the password of the IWAM account sometimes fails, so that the password used by the triplet IWAM account is not unified . When IIS or COM application uses error IWAM's password login system, start IIS OUT-OF-Process Pooled Applications, the system will refuse this request due to password errors, resulting in the failure of IIS OUT-OF-Process Pooled Applications, that is Our "Cannot Run Server {3D14228D-FBE1-11D0-995D-00c04FD919C1}" (here {3D14228D-FBE1-119C1} is the key) of IIS Out-of-Process Pooled Applications If you cannot transfer to IIS5 applications, HTTP 500 internal errors are produced. III. The solution knows the reasons why HTTP 500 internal errors, it is relatively simple, which is the password of artificial synchronization IWAM account in Active Directory, IIS Metabase database, and COM applications. Specific * For three steps, you need to log in to your computer as an administrator to provide sufficient * authority (IWAM account as an example of IWAM_MYSERVER). (1) Change the password of the iWam_myserver account in Active Directory, because the password of the IWAM account is controlled, randomly, we don't know what it is, to complete the password of the following two steps, we must set the password of the IWAM account to one We know the value. 1. Select "Start" -> Programs -> Administrative Tools -> "Active Directory User and Computers", launch the "Active Directory User and Computer" management unit. 2. Click "User", select "IWAM_MYSERVER" on the right, right-click Select "Reset Password (T) ...", set the new password for IWAM_MYSERVER in the reset password other box, which we set it into "AboutNT2001" (without quotation marks), determine, wait for the password to modify success.

(2) Synchronous IIS METABASE IWAM_MYSERVER account password may be too sensitive and important, Microsoft does not modify the IIS Metabase IWAM_MYSERVER account password to provide an explicit user interface, only with IIS5, a management script adsutil .vbs, this script is located in the C: / INETPUB / Adminscripts subdirectory (location may vary depending on the settings when you install IIS5). ADSUTIL.VBS script is powerful, the parameters are very many and the usage is complex. This only provides this script to modify the IWAM_MYSERVER account password: AdsuTil Set W3SVC / WAMUSERPASS Password "password" parameter is the new password to set the IWAM account. So we modify the password of IIS Metabase IWAM_MYSERVER account to "AboutNT2001" command is: c: / inetpub / adminsscripts> AdsuTil Set W3SVC / WAMUSERPASS "ABOUTNT2001" After the change is successful, the system will have the following tips: WamuserPass: (String) " Aboutnt2001 "(3) Synchronization COM application's IWAM_MYSERVER password synchronization COM application's IWAM_MYSERVER password, we have two ways to choose: one is to use component service MMC management unit, the other is to use IWAM account Synchronization Script Synciwam.vbs. 1. Use the component service MMC management unit (1) Start the component service management unit: Select "Start" -> "Run" -> "MMC", start the management console, open the "Add / Delete Management Unit" dialog box, will " Component Services management unit Add. (2) Find "Component Services" -> "Computer" -> "My Computer" -> "Com Applications" -> "Out-of-Process Pooled Applications", right-click "OUT-OF-Process Pooled Applications" -> "Properties". (3) Switch to the "Sign" tab of the "OUT-OF-Process Pooled Applications" Properties dialog. "This application runs under the following account" Select "This user" will be selected, the username is "iWam_MyServer". These are default, no need to change. Enter the correct password "AboutNT2001" in the "Password" and "Confirm Password" text box to determine exit. (4) System If prompted "The application is created by more than one external product. Do you have to support these products?" Is determined. (5) If we set other web "Application Protection" to "High (independent)" in IIS, the IWAM account password for the COM application used by this web also needs to be synchronized. Repeat (1) - (4) step, synchronize the other Out of Process Application IWAM account password. 2. Using the IWAM Account Synchronization Script SynciWam.vbs In fact Microsoft has found that IWAM account has problems in password synchronization, so a script synciwam.vbs is written separately for the IWAM account password in the IIS5 management script. This script is located in C: / INETPUB / ADMINSCRIPTS subdirectory (location may vary depending on the settings of setting IIS5).

转载请注明原文地址:https://www.9cbs.com/read-121893.html

New Post(0)