DCOM encountered an error "Logon Failed: Unknown user name or wrong password

Source: Internet
Author: User
Tags metabase
DCOM encountered an error "Logon Failed: Unknown user name or wrong password DCOM encountered an error" Logon Failed: Unknown user name or wrong password

And cannot log on to the. \ IWAM_PC-HANXIN to run the server:
{3d14228d-fbe1-11d0-995d-00c04fd919c1}

In the browser:

Server application error

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 maintenance.

 

Post:

Ii. Cause Analysis

 

According to the above error analysis, we can see that the internal HTTP 500 error is mainly caused by the Password error of the IWAM account (iwam_myserver account on my computer.

 

Before analyzing the cause of an internal error in http500 in detail, let's give a brief introduction to the IWAM account: the IWAM account is a built-in account automatically created by the system when iis5 is installed, it is mainly used to start applications outside the process.Program. The name of the IWAM account varies depending on the NetBIOS name of each computer. The common format is iwam_machine, it is composed of the prefix "IWAM", the connection line "_", and the computer's NetBIOS name. My computer's NetBIOS name is myserver, so the IWAM account name on my computer is iwam_myserver, which is very similar to the way in which the IIS Anonymous Account isur_machine is named.

 

After the IWAM account is created, it is used by the Active Directory, IIS metabase database, and COM + applications. The account and password are respectively saved by the three parties, the operating system is responsible for synchronizing the IWAM password stored by the three parties. We can rest assured that the work undertaken by the operating system does not have to worry about errors, but we do not know whether it is a bug or another reason. The system sometimes fails to synchronize the password of the IWAM account, the password used by the third-party IWAM account is inconsistent. When IIS or COM + applications use the wrong IWAM password to log on to the system and start IIS Out-of-process pooled applications, the system rejects this request due to a wrong password, this causes IIS Out-of-process pooled applications to fail to start, that is, the "cannot run server {3d14228d-fbe1-11d0-995d-00c04fd919c1}" we see in the id10004 error event (here {token} is the key of IIS Out-of-process pooled applications ), it cannot be transferred to the iis5 application. An internal HTTP 500 error occurs.

 

 

 

Iii. solution:

 

1. Reset the IWAM Password

 

Open my computer "manage", switch to "local users and groups", click "user", select "iwam_computer_name" user, right-click and select "set password ", in the Reset Password dialog box that appears, set a new password for iwam_computer_name. Here we set it to "rock2006" (without quotation marks). OK, wait until the password is successfully modified.

 

2. Synchronize the password of iwam_computer_name in IIS metabase

 

This change may be too sensitive and important. Microsoft does not provide an explicit user interface for modifying the iwam_computer_name account and password in IIS metabase. Only one management script adsutil is provided with iis5. vbs. The script is located in the C: \ Inetpub \ adminscripts 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_computer_name account password:

 

Go to c: \ Inetpub \ adminscripts under cmd

Cd c: \ Inetpub \ adminscripts

C: \ Inetpub \ adminscripts> adsutil set w3svc/wamuserpass password "rock2006" (note that there is no space on the left of the quotation marks)

 

After the modification is successful, the system prompts the following:

 

Wamuserpass: (string )"**********"

 

3. Synchronize the iwam_computer_name password used by the COM + application

 

Synchronize the iwam_computer_name password used by the COM + application. We use the component service MMC Management Unit.

 

(1) Open the control panel and go to the management tool, find "component service"> "computer"> "my computer"> "COM + application"> "out-of-process pooled Applications ", right-click "out-of-process pooled Applications"-> "properties ".

 

(2) 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. The user name is "iwam_computer_name ". These are all default values and do not need to be modified. Enter the correct password "rock2006" in the "password" and "Confirm Password" text boxes below to exit.

 

(3) 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 ?" .

 

If we set "application protection" for some other web 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)-(3) To synchronize the IWAM account and password of the corresponding out of Process application.

 

from: http://hi.baidu.com/cqxuanboy/item/796155d05a7d543449e1dd34

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.