IIS 6.0: DCOM Error When You View ASP Content on IIS 6.0 Web Server (332092)
The information in this article applies to:
- Microsoft Internet Information Services version 6.0
This article was previously published under Q332092 SYMPTOMSWhen you view Active Server Pages (ASP) content on an
Internet Information Services (IIS) version 6.0 Web server, you may receive the
following error message in the event viewer system log:Event ID:10004 Source: DCOM Description: DCOM got error
"The operation completed successfully." and was unable to
logon.\IWAM_ComputerName in order to run the
server. {77FBCBE1-FA6A-475D-8387-9FEF4E12E398}CAUSEThis can occur if both of the following conditions are met:
- The IWAM_ComputerName user account does not have the "Logon
as a batch job" user right.
- You have set the World Wide Web Publishing Service to run
in IIS 5.0 isolation mode.
Important By default, this user right is granted to the IWAM_ComputerName
account through membership in the IIS_WPG group. RESOLUTIONTo resolve this issue, grant the "Logon as a batch job"
right to the IWAM_ComputerName account by adding it to the IIS_WPG group. To do
this, follow these steps:
- On the Administrative Tools menu, expand
Local Security Policy.
- Expand Local Policies, and then click
User Rights Assignment.
- Double-click Deny log on as a batch
job.
- If the IWAM_ComputerName account or the IIS_WPG group is
listed, select the account or group, and then click
Remove.
- Double-click Log on as a batch
job.
- If IIS_WPG is not listed, click Add User or
Group, and then type IIS_WPG.
- Click OK to close all dialog
boxes.
- On the Administrative Tools menu, click
Computer Management.
- Expand Local Users and Groups.
- Click Groups.
- If the IWAM_ComputerName account is not listed, add it to
the group.
Note If domain-level policy settings are defined, they override local
policy settings. Make sure that Effective Policy is also
selected (this setting is dimmed). Contact your domain administrator if this
setting is not selected. MORE INFORMATIONBatch logon is required for the identities that are
launching COM+ applications. When a COM+ application is run, before it starts
the server process, the Service Control Manager calls the LogonUser API by using a batch-type logon. This only works if the user who
is being logged on is granted the "Log on as a batch job" right.
COM+
adds the user to the "Log on as a batch job" right automatically when you enter
a new account for the identity of a COM+ application through the Component
Services Management Console.REFERENCES For
additional information about required permissions and rights for COM+
application identities, click the following article number to view the article
in the Microsoft Knowledge Base: 276407
INFO: Rights and Permissions Needed by the Identity Account of an MTS/COM+ Package
For additional information about
this event in IIS 5.0, click the following article number to view the article
in the Microsoft Knowledge Base:
Q297519
Server Application Error Message: "The
server failed to load application"
Modification Type: | Major | Last Reviewed: | 4/16/2003 |
---|
Keywords: | kbpending kbprb KB332092 |
---|
|