Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 332092 - Last Review: December 3, 2007 - Revision: 2.4
IIS 6.0: DCOM Error When You View ASP Content on IIS 6.0 Web Server
This article was previously published under Q332092
When 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}
This 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.
To 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.
Batch 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.
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Â
(http://kbalertz.com/Feedback.aspx?kbNumber=276407/EN-US/
)
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Â
(http://kbalertz.com/Feedback.aspx?kbNumber=
Q297519/EN-US/
)
Server Application Error Message: "The
server failed to load application"
APPLIES TO
- Microsoft Internet Information Services 6.0
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate