检索 COM 类工厂中 CLSID 为 {91493441-5A91-11CF-8700-00AA0060263B} 的组件失败

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.

转载于:https://www.cnblogs.com/Javi/p/6424843.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值