VC的Bug:Visual Studio 6.0 中出现错误消息“Setup Was Unable to Create a DCOM User Account”(安装程序无法创建 DCOM 用户帐户)
花了两天时间装vc6.0,微软官方已经没有了,找了个自称是官方原版镜像的下载后,总在安装最后一步出现Setup Was Unable to Create a DCOM User Account……,本人xp系统,上网查如下——>
在安装vc时,最后总出现:setup was unable to create a DCOM user account in order to register microsoft visual studio\common\tools\vs_ent98\valec.exe 然后就提示安装不成功!
这是Visual Studio的一个BUG,只出现在Windows 2000/XP下。如果你不使用Visual Studio Analyzer,可以在安装时选择Custom,然后在Enterprise Tools中清除掉Visual Studio Analyzer。再安装就没有这个问题了。
——————————————————————————————————————————————————————————————
——————————————————————————————————————————————————————————————
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 Windows 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 Windows 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.
——————————————————————————————————————————————————————————————
——————————————————————————————————————————————————————————————
症状当您运行 Visual Studio 6.0 安装程序时,可能会收到下面的错误消息:Setup was unable to create a DCOM user account in order to register <path>\valec.exe此错误消息首先出现,并可能跟随第二条消息,指示安装程序已失败。
原因Visual Studio Analyzer 是 Visual Studio Enterprise Edition 6.0 版中包含的产品之一,由于 Windows 2000 中用户的安全策略发生了更改,因此它无法创建需要运行的本地用户帐
解决方案重新安装不含 Visual Studio Analyzer 的 Visual Studio 6.0 Enterprise Edition:
状态Microsoft 已经确认这是本文开头列出的 Microsoft 产品中的错误
参考有关 Visual Studio Analyzer 的其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:257369 BUG:Visual Studio Analyzer 不收集 COM+ 事件257382 PRB:Visual Studio Analyzer 不收集性能监视器事件
属性文章编号: 257413 - 最后修改: 2006年9月12日 - 修订: 4.3