EXCEL 出错 8000401a

EXCEL 出错 8000401a检索COM类工厂中CLSID为{00024500-0000-0000-C000-000000000046}的组件时失败,原因是出现以下错误:8000401a先用骨哥狗了一会,没解决方案,又用摆渡,也没找到方法,最后还是看微软的帮助解决了问题:1.打开DCOM配置,取消交互式用户,使用启动用户2.安全中附足够权限,不知道用户是谁就写Everyonehttp://suppo…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件时失败,原因是出现以下错误: 8000401a
先用骨哥 狗了一会,没解决方案,又用摆渡,也没找到方法,最后还是看微软的帮助解决了问题:

1.打开DCOM配置,取消交互式用户,使用启动用户

2.安全中附足够权限,不知道用户是谁就写Everyone

http://support.microsoft.com/kb/305761/zh-cn:

COM+ server application that uses interactive user identity fails to load
View products that this article applies to.
< type=”text/javascript”>function loadTOCNode(){}
Article ID : 305761
Last Review : November 16, 2005
Revision : 3.0

This article was previously published under Q305761
On This Page
SYMPTOMS
CAUSE
RESOLUTION
WORKAROUND
MORE INFORMATION
Steps to reproduce the behavior
REFERENCES
< type=”text/javascript”> var sectionFilter = “type != ‘notice’ && type != ‘securedata’ && type != ‘querywords'”; var tocArrow = “/library/images/support/kbgraphics/public/en-us/downarrow.gif”; var depthLimit = 10; var depth3Limit = 10; var depth4Limit = 5; var depth5Limit = 3; var tocEntryMinimum = 1; < src=”/common/script/gsfx/kbtoc.js?9″ type=”text/javascript”>
SYMPTOMS
< type=”text/javascript”>loadTOCNode(1, ‘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.”
Back to the top

CAUSE
< type=”text/javascript”>loadTOCNode(1, ’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.
Back to the top

RESOLUTION
< type=”text/javascript”>loadTOCNode(1, ‘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.
Back to the top

WORKAROUND
< type=”text/javascript”>loadTOCNode(1, ‘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.

Back to the top

MORE INFORMATION
< type=”text/javascript”>loadTOCNode(1, ‘moreinformation’);
Steps to reproduce the behavior
< type=”text/javascript”>loadTOCNode(2, ‘moreinformation’); 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.

Back to the top

REFERENCES
< type=”text/javascript”>loadTOCNode(1, ‘references’);
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
276407 (http://support.microsoft.com/kb/276407/) Rights and permissions needed by the Identity account of an MTS/COM+ package
282073 (http://support.microsoft.com/kb/282073/) ASP application fails if no user is logged on to the server
312497 (http://support.microsoft.com/kb/312497/) COM+ application under domain account fails intermittently
Back to the top

——————————————————————————–

APPLIES TO
• Microsoft COM+ 1.0
• Microsoft COM+ 1.5
• Microsoft Transaction Services 2.0

Back to the top

Keywords:  kbprb KB305761

Back to the top

 

转载于:https://www.cnblogs.com/Sue_/articles/1779422.html

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/160004.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号