DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon nt in order to run the server:

Posted by Cereal Tuesday, May 08, 2007 7:00:00 AM Categories: _Tous les articles _Tous les articles Windows 2003 Windows XP
Rate this Content 0 Votes

Event Log Message
Event Type: Error
Event Source: DCOM
Event ID: 10004
Description:
DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon nt in order to run the server:

CAUSE

The IWAM_machine account may be out-of-sync. The IWAM_machine identity must be in synch in the metabase, the Security Account Manager (SAM), and COM+. Account information stored in the Internet Information Server (IIS) metabase is synchronized with the local SAM, but COM+ applications are not automatically updated.
Back to the top

 

RESOLUTION
IIS 5.0 provides Synciwam.vbs to update the launching identity of all IIS COM+ application packages that run out-of-process. The Synciwam.vbs script can be found in the \Inetpub\AdminScripts folder and can be run using Cscript or Wscript (see the Synciwam.vbs file for more information).

 

 

NOTE: Using Synciwam.vbs will reset all out-of-process applications (medium and high isolation) to IWAM_machine.

 

If SynchIWAM fails with the "empty username or password" error, it may be necessary to update the IWAM_ account manually in the IIS Out-Of-Process Pooled Applications object and all Web sites in which the Application Protection is set to High (Isolated).

IIS 5.0
Check the Identity properties of the IIS Out-of-Process Pooled Applications for Microsoft Transaction Server Properties and all Web sites that are set to High (Isolated) in the Application Protection list box on the Home Directory tab. These packages are located in the Adminstrative Tools/Component Services folder.



1. Under the Console root, click to expand the Component Services, Computers, My Computer, and COM+ Applications nodes.




2. Right-click the IIS Out-of-Process Pooled Applications object, and then click Properties.



3. On the Identity tab, ensure that the IWAM_ account that is assigned to IIS Out-of-Process Pooled Applications appears in this window.

4. Repeat the preceding steps for all Web sites that are set to High (Isolated) in the Application Protection list box (which are identifed as IIS-).

http://support.microsoft.com/default.aspx?scid=kb;en-us;255770

Download SyncIWAM Script File.zip (3ko)

Simple-Tech.info
Comments are closed on this post.
Site Map | Printable View | © 2008 - 2012 Simple-Tech.info | Powered by mojoPortal | HTML 5 | CSS | Design by mitchinson