随笔 - 2, 文章 - 73, 评论 - 60, 引用 - 0
数据加载中……

VC的Bug-安装过程中创建DCOM出错(Setup Was Unable to Create a DCOM User Account)

今天在重新安装VC6.0企业版的时候出现这个问题, 查了一下资料,原文如下:

VC6.Setup Was Unable to Create a DCOM User
2006-10-29 03:08
BUG: "Setup Was Unable to Create a DCOM User Account" Error Message in Visual Studio 6.0
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 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. 

posted on 2007-09-22 19:49 郭天文 阅读(3296) 评论(0)  编辑 收藏 引用 所属分类: VC++


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理