BUG: "Setup Was Unable to Create a DCOM User Account" Error Message in Visual Studio 6.0

本文解决在安装Visual Studio 6.0时遇到的“Setup was unable to create a DCOM user account”错误消息问题。该问题是由于Visual Studio Analyzer无法创建运行所需的本地用户账户导致的。提供了两种解决方案:一是重新安装不包含Visual Studio Analyzer的版本;二是单独安装Visual Studio Analyzer。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天在安装VS 6.0时,遇见这个问题:Setup was unable to create a DCOM user account in order to register <path>\valec.exe
后来找到原来是VS的一个Bug。贴出微软的原文:

BUG: "Setup Was Unable to Create a DCOM User Account" Error Message in Visual Studio 6.0

View products that this article applies to.
Article ID:257413
Last Review:November 4, 2003
Revision:4.0
This article was previously published under Q257413

SYMPTOMS

When you run the Visual Studio 6.0 Setup program, you may receive the following error message: Setup was unable to create a DCOM user account in order to register <path>\valec.exe This first error message may be followed by a second message that indicates that Setup failed.

CAUSE

Visual Studio Analyzer, which is one of the products that is included in Visual Studio Enterprise Edition version 6.0, cannot create the local user account that it needs to run because of changes to the security policies for users in 视窗系统 2000.

RESOLUTION

Re-install Visual Studio 6.0 Enterprise Edition without Visual Studio Analyzer:
1.Use the Custom setup, on the Visual Studio 6.0 Enterprise - Custom page, click Enterprise Tools, and then click Change Option.
2.On the Visual Studio 6.0 Enterprise - Enterprise Tools page, under Options, make sure the Visual Studio Analyzer check box is not selected.
3.Click to select all the other Visual Studio components that you want to install, and then click OK.
4.Click Continue, and then follow the instructions that appear.
To install Visual Studio Analyzer:
1.In Control Panel, double-click Add/Remove Programs, and then click Microsoft Visual Studio 6.0 Enterprise Edition.
2.Click Change/Remove.
3.In Visual Studio 6.0 Enterprise Setup, click Add/Remove.
4.On the Visual Studio 6.0 Enterprise - Maintenance page, click Enterprise Tools, and then click Change Option.
5.On the Visual Studio 6.0 Enterprise - Enterprise Tools page, under Options, click Visual Studio Analyzer, and then click OK.
6.On the Visual Studio 6.0 Enterprise - Maintenance page, click Continue, and then follow the instructions that appear.

When you receive the error message that is described in the "Symptoms" section, continue with the Visual Studio Setup Wizard. Setup reports a failure.
To create a local account, which Visual Studio Analyzer will run as:
1.On the computer that is running Visual Studio Enterprise Edition 6.0, create a local user. For information about how to create a local user, see 视窗系统 2000 Help.
2.Run Distributed COM Configuration (dcomcnfg.exe).
3.On the Applications tab, click MSVSA Local Event Concentrator Class, and then click Properties.
4.On the Identity tab, set This User to match the user and password you created in step 1 of this procedure.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

REFERENCES

For additional information regarding Visual Studio Analyzer, click the article numbers below to view the articles in the Microsoft Knowledge Base: 257369 Visual Studio Analyzer Does Not Collect COM+ Events 257382 Visual Studio Analyzer Does Not Collect Performance Monitor Events

 

原帖链接:http://cuijianlingbest.blog.163.com/blog/static/122752833201022492356897/

转载于:https://www.cnblogs.com/red_giser/archive/2010/09/10/1823379.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值