COM+ server application that uses interactive user identity fails to load

Symptoms

When no user is interactively logged on to the server console, if you try to start a COM+ application remotely (either through a Terminal Server session or from a remote client application), the application may fail with the following error message:

8000401A - "The server process could not be started because the configured identity is incorrect. Check the username and password."

Cause

This problem occurs because the default identity for the application is set as Interactive User. Interactive user refers to the user that is logged on directly to the server console. If no interactive user exists, the application fails when it tries to assume the interactive user's identity.

Resolution

To resolve this problem, change the identity for the server application to run under a particular user. To do this, on the Identity tab of the Application Properties dialog box, click This User. In addition, if it is feasible, you can ensure that a user is interactively logged on to the server console while the application is running.

Workaround

In Microsoft Windows Server 2003, work around this problem by using the /Console switch to log on to Console0. To do this, follow these steps:
  1. Click Start, click Run, type mstsc /console, and then click OK.
  2. Log on to the computer.

More Information

Steps to reproduce the behavior

  1. Create a new, empty COM+ Server application. Accept the default settings.
  2. Add any component to the application. The component must not already be in another COM+ application.
  3. Try to start the application remotely when no user is interactively logged on to the server console.

References

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

276407 Rights and permissions needed by the Identity account of an MTS/COM+ package

282073 ASP application fails if no user is logged on to the server

312497 COM+ application under domain account fails intermittently

คุณสมบัติ

รหัสบทความ: 305761 - การตรวจสอบครั้งสุดท้าย: 24 มี.ค. 2009 - ฉบับแก้ไข: 1

คำติชม