Microsoft KB Archive/312497

= PRB: COM+ Application Under Domain Account Fails Intermittently =

Article ID: 312497

Article Last Modified on 12/5/2007

-

APPLIES TO


 * Microsoft COM+ 1.0
 * Microsoft COM+ 1.5

-



This article was previously published under Q312497



SYMPTOMS
If a COM+ application runs under a domain account, when you type the password, the application works initially and then fails suddenly with the following error message:

Event ID: 10004 Source: DCOM

DCOM got error &quot;Logon failure: unknown user name or bad password.&quot; and was unable to logon .\UserName in order to run the server:

{1FD7A201-0823-479C-9A4B-2C6128585168}

The only way to get the application to work is to retype the password.



CAUSE
This problem occurs because the Log on as a batch job privilege is not set for the identity of the COM+ package. When you set a user as the COM+ identity, COM+ adds this privilege for you.

However, if the user is a domain account, and if that user does not have the Log on as a batch job privilege set in a Group Policy Object (GPO) when the Active Directory performs an update, the identity of the COM+ package is reset, and the permission is removed.

If you retype the password, COM+ will add the Log on as a batch job privilege again for the local computer.



RESOLUTION
To resolve this problem, give the domain account the Log on as a batch job privilege in the Group Policy Object in the Domain Controller.



STATUS
This behavior is by design.

Additional query words: application fails sporadically occasionally sometimes

Keywords: kbsysadmin kbprb KB312497

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.