Error | server | Internal server one. Error performance
IIS5 's http500 internal server error is one of our common mistakes, and its main error is that the ASP program cannot browse but the HTM static Web page is unaffected. In addition, when errors occur, the system event log and the security event log have corresponding records.
Specifically as follows:
(a) performance in IE
The following error occurs when you browse to an ASP page that previously worked correctly:
Web page cannot be displayed
The page you are trying to access has a problem and cannot be displayed.
Please try the following actions:
Open the http://127.0.0.1 home page for a link to the information you want.
Click the Refresh button, or try again later.
http500-Internal Server Error
Internet Information Services
Technical information (Personal support)
Detailed information:
Microsoft support
Or is:
Serverapplicationerror
Theserverhasencounteredanerrorwhileloadinganapplicationduringtheprocessingofyourrequest.pleaserefertotheeventlogformorede Tailinformation.pleasecontacttheserveradministratorforassistance.
(ii) Security log records (2 article)
Event Type: Failure audit
Event Source: Security
Event Type: Logon/Logoff
Event id:529
Date: 2001-9-9
Event: 11:17:07
User: Ntauthority\system
Computer: MyServer
Describe:
Login failed:
Reason: Unknown user name or bad password
User name: Iwam_myserver
Domain: Mydom
Logon Type: 4
Logon process: Advapi
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Workstation Name: myserver
Event Type: Failure audit
Event Source: Security
Event Type: Account Login
Event id:681
Date: 2001-9-9
Event: 11:17:07
User: Ntauthority\system
Computer: MyServer
Describe:
Log on to account: Iwam_myserver
Logged in User: Microsoft_authentication_package_v1_0
From workstation: myserver
did not succeed. The error code is: 3221225578
(iii) records in the System log (2 article)
Event Type: Error
Event Source: DCOM
Event Type: None
Event id:10004
Date: 2001-9-9
Event: 11:20:26
Users: N/A
Computer: MyServer
Describe:
DCOM encountered an error ' Unable to update password. The value provided to the new password contains values that are not allowed in the password. "and cannot log on to the. \iwam_myserver to run the server:
3D14228D-FBE1-11D0-995D-00C04FD919C1}
Event Type: Warning
Event Source: W3SVC
Event Type: None
Event id:36
Date: 2001-9-9
Event: 11:20:26
Users: N/A
Computer: MyServer
Describe:
The server failed to transfer to the application '/lm/w3svc/4/root '. Error is ' runas ' format must be < domain >\< username > or just < username > '.
To get more information about this message, please visit the Microsoft Online Support site: http://www.microsoft.com/contentredirect.asp.
Two. Causal analysis
Comprehensive analysis of the above error performance we can see, mainly because the IWAM account (in My computer is the Iwam_myserver account) of the password error caused http500 internal error.
In the detailed analysis of the causes of http500 internal errors, first of IWAM account for a brief introduction: IWAM account is installed IIS5 when the system automatically set up a built-in account, mainly for the start of the process outside the application of Internet Information Services. The name of the IWAM account differs depending on the NetBIOS name of each computer, and the common format is iwam_machine, which consists of the "IWAM" prefix, the connector "_" plus the NetBIOS name of the computer. My computer's NetBIOS name is myserver, so the name of the IWAM account on my computer is Iwam_myserver, which is very similar to the way IIS Anonymous account Isur_machine is named.
IWAM account established by the ActiveDirectory, iismetabase database and COM + application tripartite common use, account password was saved by three parties, and the operating system is responsible for the three-party saved IWAM Password synchronization work. According to common sense, the operating system is responsible for the work we can rest assured that there is no need to worry about mistakes, but I do not know is a bug or other reasons, the system of the IWAM account password synchronization work will sometimes fail, so that the three-party IWAM account password is not uniform. When an IIS or COM + application logs on to the system using the wrong IWAM password, the system rejects the request because of a password error when the iisout-of-processpooledapplications is started. Causing Iisout-of-processpooledapplications to fail, which is what we see in the id10004 Error event "Cannot run server 3d14228d-fbe1-11d0-995d-00c04fd919c1}" (Here 3d14228d-fbe1-11d0-995d-00c04fd919c1} is a iisout-of-processpooledapplications key) and cannot be transferred to the IIS5 application. The HTTP500 internal error is thus produced.
Three. Solutions
Knowing the cause of http500 internal error, it is simpler to solve, that is, manually synchronizing IWAM account passwords in ActiveDirectory, iismetabase databases, 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 of the Iwam_myserver account in ActiveDirectory
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"-> "ActiveDirectory Users and Computers" to start the "ActiveDirectory 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) The password of the Iwam_myserver account in the synchronized iismetabase
Perhaps because this change is too sensitive and important, Microsoft has not provided us with an explicit user interface to modify the Iwam_myserver account password in Iismetabase, only with IIS5 provides a management script adsutil.vbs, which is located in C:\InetPub\ AdminScripts (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/wamuser Passpassword
The "password" parameter is the new password for the IWAM account you want to set up. Therefore, we will change the password of the Iwam_myserver account in Iismetabase to the "aboutnt2001" command:
C:\inetpub\adminscripts>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. Using Component Services M