SoFunction
Updated on 2025-03-09

IIS prompts Server Application Error's solution highlight page 2/2



Introduction
The HTTP 500 internal server error of IIS5 is one of the errors we often encounter. Its main error manifestation is that the ASP program cannot browse but the HTM static web page is not affected. In addition, when an error occurs, the system event log and security event log will have corresponding records. The details are as follows...!
text
1. Error manifestation.
The HTTP 500 internal server error of IIS5 is one of the errors we often encounter. Its main error manifestation is that the ASP program cannot browse but the HTM static web page is not affected. In addition, when an error occurs, the system event log and security event log will have corresponding records. .
The details are as follows: Copyright Statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
(I) Performance in IE.
When browsing an asp page that was previously able to run normally, the following error will appear: ...
The web page cannot be displayed.
There is a problem with the web page you are visiting and it cannot be displayed. .
--------------------------------------------- ..
Please try the following: ..
Open the http://127.0.0.1 home page and look for a link to the required information. .
Click the refresh button, or try again later. .
HTTP 500 - Internal Server Error ..
Internet Information Services.
-------------------------------------------------------------------------------- . 
Technical information (supporting individuals) If you need to use the photographic photos, illustrations, and design works provided by this website, please contact the original author.
Details: !
Microsoft Support!
Or: If you need to use the photography photos, illustrations, and design works provided by this website, please contact the original author.
Server Application Error A successful life requires you to manage it yourself. Don’t wait any longer. Plan for your life now, light up a bright light for your life, and win at the starting point of your life.
The 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. Please contact the server administrator for assistance. .
(2) Security log records (2 items) Special note: All reprinted articles on this site do not represent the views of this site. If you need to use the photography photos, illustrations, and design works provided by this site, please contact the original author.
Event Type: Failed audit.
Source of the event: Security ..
Event Type: Login/Login!
Event ID: 529.
Date: 2001-9-9 Copyright Statement: All articles on this site are from the Internet.
Event: 11:17:07 Special note: All reprinted articles on this site do not represent the views of this site. If you need to use it, please contact the original author
User: NT AUTHORITY\SYSTEM ...
Computer: MYSERVER.
Description: Copyright Statement: All articles on this site are from the Internet.
Login failed: Copyright statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
Cause: Unknown username or wrong password..
Username: IWAM_MYSERVER A successful life requires you to manage it yourself. Don’t wait any longer. Now plan your life, light up a bright light for your life, and win at the starting point of your life.
Domain: MYDOM For a truly successful person, no matter his living conditions, he will not be self-destructive.
Login type: 4.
Login process: Advapi..
Identity authentication package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 The photographic photos, illustrations, and design works provided by this website. If you need to use them, please contact the original author.
Workstation name: MYSERVER.
Event Type: Failed Review ..
Source of the event: Security.
Event Type: Account Login.
Event ID: 681.
Date: 2001-9-9..
Event: 11:17:07 According to experts' observations, such theories and phenomena are worthy of deep thought by webmasters, so I hope everyone will do more research and study and strive to summarize more and better experiences!
User: NT AUTHORITY\SYSTEM.
Computer: MYSERVER.
describe: .
Log in to account: IWAM_MYSERVER ..
Logged in user: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 ...
From workstation: MYSERVER ..
Unsuccessful. The error code is: 3221225578 Special note: All reprinted articles on this site do not represent the views of this site. If you need to use it, please contact the original author.
(III) Records in the system log (2 items).
Event Type: Error For a true successful person, no matter his living conditions, he will not be self-destructive.
Source of the event: DCOM!
Event Type: None ..
Event ID: 10004..
Date: 2001-9-9.
Event: 11:20:26 A successful life requires you to manage it yourself. Don’t wait any longer. Make a good plan for your life now, light a bright light for your life, and win at the starting point of your life.
User: N/A.
Computer: MYSERVER.
describe: ...
DCOM encountered an error "Cannot update password. The value provided to the new password contains values ​​that are not allowed in the password." and cannot log in to .\IWAM_MYSERVER to run the server: .
{3D14228D-FBE1-11D0-995D-00C04FD919C1} ..
Event Type: Warning..
Source of the incident: W3SVC Copyright Statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
Event Type: None.
Event ID: 36.
Date: 2001-9-9..
Event: 11:20:26 The photographic photos, illustrations, and design works provided by this website. If you need to use them, please contact the original author.
User: N/A Special note: All reprinted articles on this site do not represent the views of this site. If you need to use the photography photos, illustrations, and design works provided by this site, please contact the original author.
Computer: MYSERVER According to experts' observations, such theories and phenomena are worthy of deep thought by webmasters, so I hope everyone will do more research and study and strive to summarize more and better experiences!
Description: A successful life requires you to manage it yourself. Don’t wait any longer. Make a good plan for your life now, light a bright light for your life, and win at the starting point of your life.
The server failed to transfer to the application '/LM/W3SVC/4/Root'. The error is that the format of RunAs must be <domain name>\<username> or just <username>'. .
To get more information about this message, visit the Microsoft Online Support site: /. Copyright Statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
..
2. Cause analysis.
Based on a comprehensive analysis of the above errors, we can see that it is mainly due to the password error of the IWAM account (on my computer, IWAM_MYSERVER account) that caused an internal error of HTTP 500. Special note: All reprinted articles on this site do not represent the views of this site. If you need to use the photography photos, illustrations, and design works provided by this site, please contact the original author.
Before analyzing the causes of the internal errors of HTTP500 in detail, let me give a brief introduction to the IWAM account: The IWAM account is a built-in account automatically established by the system when IIS5 is installed, and it is mainly used to start Internet information services for applications outside the process. The name of the IWAM account will vary according to the name of the NETBIOS of each computer. The general format is IWAM_MACHINE, which is composed of the "IWAM" prefix, the connection line "_" and the computer's NETBIOS name. The NETBIOS name of my computer is MYSERVER, so the name of the IWAM account on my computer is IWAM_MYSERVER, which is very similar to the naming of IIS anonymous account ISUR_MACHINE. .
After the IWAM account is established, it is used by Active Directory, IIS metabase database and COM application. The account password is saved by the three parties, and the operating system is responsible for synchronizing the IWAM passwords saved by these three parties. According to common sense, we can rest assured that the work that is responsible for by the operating system is not to worry about errors. But whether it is a bug or other reasons, the system's password synchronization work for IWAM accounts sometimes fails, making the passwords used by three-party IWAM accounts inconsistent. When an IIS or COM application logs into the system with the wrong IWAM password and starts IIS Out-Of-Process Pooled Applications, the system will reject the request due to a password error, resulting in the startup of IIS Out-Of-Process Pooled Applications. That is, what we see in the ID10004 error event, "The server cannot be run {3D14228D-FBE1-11D0-995D-00C04FD919C1} (here {3D14228D-FBE1-11D0-995D-00C04FD919C1} is IIS Out-Of-Process Pooled Applications KEY) cannot be transferred to IIS5 applications, and an internal HTTP 500 error occurs like this. ..
3. Solution.
Knowing the reason for the internal error of HTTP 500, it is easier to solve it, that is, manually synchronizing the passwords of IWAM accounts in Active Directory, IIS metabase database and COM applications. .
The specific operation is divided into three steps, all of which need to log in to the computer as an administrator to provide sufficient operation permissions (see IWAM_MYSERVER as an example for IWAM account). ...
(I) Change the password of the IWAM_MYSERVER account in Active Directory.
Because the password of the IWAM account is controlled by the system and is randomly generated, we do not know what it is. In order to complete the password synchronization work in the following two steps, we must set the password of the IWAM account to a value we know. Copyright Statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
1. Select Start -> Programs -> Administrative Tools -> Active Directory Users and Computers to start the "Active Directory Users and Computers" snap-in.
2. Click "user", select "IWAM_MYSERVER" on the right, right-click to select "Reset Password (T)...". Set a new password for IWAM_MYSERVER in the Reset Password Unit that pops up. Here we set it to "Aboutnt2001" (without quotes), confirm, and wait for the password to be modified successfully. Copyright Statement: All articles on this site are from the Internet.
(II) Synchronize the password of the IWAM_MYSERVER account in IIS metabase.
Perhaps because this change is too sensitive and important, Microsoft did not provide an explicit user interface for us to modify the IWAM_MYSERVER account password in IIS metabase. It only provides an administrative script with IIS5. This script is located in the C:\inetpub\adminscripts subdirectory (the location may change depending on the settings when you install IIS5). Copyright Statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
The script has powerful functions, many parameters and complex usage. Here we only provide methods to modify the IWAM_MYSERVER account password using this script: .
adsutil SET w3svc/WAMUserPass Password . 
The "Password" parameter is the new password of the IWAM account to be set. Therefore, the command to modify the password of the IWAM_MYSERVER account in IIS metabase to "Aboutnt2001" is: Special note: All reprinted articles on this site do not represent the views of this site. If you need to use it, please contact the original author.
c:\Inetpub\AdminScripts>adsutil SET w3svc/WAMUserPass "Aboutnt2001" ..
After the modification is successful, the system will have the following prompts: Copyright Statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
WAMUserPass: (String) "Aboutnt2001" .
(III) The password of IWAM_MYSERVER used in COM applications is synchronized. Special attention: All reprinted articles on this site do not represent the views of this site. If you need to use the photography photos, illustrations, and design works provided by this site, please contact the original author.
There are two ways to synchronize the password of IWAM_MYSERVER used by COM applications: one is to use the component to serve the MMC snap-in, and the other is to use the IWAM account to synchronize scripts. .
1. Use components to serve the MMC snap-in.
(1) Start the component service snap-in: select "Start" -> "Run" -> "MMC", 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 Applications" -> "Out-Of-Process Pooled Applications", right-click "Out-Of-Process Pooled Applications" -> "Properties". ..
(3) Switch to the "Logins" tab of the "Out-Of-Process Pooled Applications" property dialog box. "This user" will be selected in the "This application runs under the following accounts" selection, and the user name is "IWAM_MYSERVER". These are all default and need not be changed. Enter the correct password "Aboutnt2001" in the "Password" and "Confirm Password" text boxes below to confirm 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 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 to synchronize scripts.
In fact, Microsoft has discovered that there are problems with password synchronization of IWAM accounts, so in the IIS5 management script, I wrote a script for password synchronization of IWAM accounts, which is located in the C:\inetpub\adminscripts subdirectory (the location may change depending on the settings when you install IIS5). .
The usage of the script is relatively simple: !
cscript [-v|-h] 。
The "-v" parameter indicates the detailed display of the entire process of script execution (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, we only need to execute "cscript -v", as follows: .
cscript c:\inetpub\adminscripts\ -v . 
Microsoft (R) Windows Script Host Version 5.6 .
Copyright (C) Microsoft Corporation 1996-2000. All rights reserved. According to experts' observations, such theories and phenomena are worthy of deep thought by webmasters, so I hope everyone will do more research and study and strive to summarize more and better experiences!
WamUserName:IWAM_MYSERVER .
WamUserPass: Aboutnt2001 Special note: All reprinted articles on this site do not represent the views of this site. If you need to use the photography photos, illustrations, and design works provided by this site, please contact the original author.
IIS Applications Defined: ..
Name, AppIsolated, Package ID .
w3svc, 0, {3D14228C-FBE1-11d0-995D-00C04FD919C1} ...
Root, 2, 。
IISHelp, 2, .
IISAdmin, 2, ..
IISSamples, 2. According to experts' observations, such theories and phenomena are worthy of deep thought by webmasters, so I hope everyone will do more research and study and strive to summarize more and better experiences!
MSADC, 2, .
ROOT, 2, ..
IISAdmin, 2. If you need to use the photography photos, illustrations, and design works provided by this website, please contact the original author.
IISHElp, 2, Special note: All reprinted articles on this site do not represent the views of this site. If you need to use the photography photos, illustrations, and design works provided by this site, please contact the original author.
Root, 2, Copyright Statement: All articles on this website are from the Internet. If there is any infringement, please contact 028-86262244-215. We will delete it immediately after receiving it. Thank you!
Root, 2, Special note: All reprinted articles on this site do not represent the views of this site. If you need to use the photography photos, illustrations, and design works provided by this site, please contact the original author.
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 script above, it can be seen that using scripts is more comprehensive and faster than using component services. It first finds the IWAM account "IWAM_MYSERVER" from the metabase database of IIS and takes out the corresponding password "Aboutnt2001", then looks for all defined IIS Applications and Out of process applications, and synchronizes the IWAM account passwords of each Out of process applications application one by one. ...
When using scripts, one thing to note is that before you run it, you must ensure that the IIS metabase database is consistent with the IWAM password in Active Directory. Because the script obtains the password of the IWAM account from the IIS metabase database instead of Active Directory, if the password in IIS metabase is incorrect, the obtained password will also be incorrect. If the synchronization operation is executed to the "Updating Applications" system, an error of 80110414 will be reported, that is, "The application cannot be found {3D14228D-FBE1-11D0-995D-00C04FD919C1}". ..
Well, so far, the passwords of the IWAM account in Active Directory, IIS metabase database and COM application have been synchronized successfully, and your ASP program can be run again!
Previous page12Read the full text