安装VS 6.0遇到的问题

原创 2005年04月24日 22:13:00
今天在安装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

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 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.

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

VC6.0工程升级到VS2010遇到问题及解决办法

今天尝试将原先编写的VC6.0下的工程升级到VS2010下,升级过程中遇到了各种各样的问题,网上针对升级遇到的问题有不少的讨论,这里仅针对我的项目程序升级过程中遇到的问题及解决办法进行了总结,希望对大...
  • ypist
  • ypist
  • 2013年01月03日 14:34
  • 1204

VC6.0工程升级到VS2010遇到问题及解决办法

1.编译错误C2065 1>c:\documents and settings\administrator\桌面\host_sp3\selectdialog.cpp(62): error C2065...
  • whatday
  • whatday
  • 2012年06月24日 22:06
  • 5042

VC++6.0中工程移植到VS2010中遇到的一些问题

【转】如果作者介意,请及时转告并在24小时内删除,谢谢. 随机过程实验的C++工程是运行在VC++6.0平台的,而我的机子上是VS2010,貌似VC++6.0在WIN7-64bit机上很难安装成功,...

将VC++6.0项目转换为VS2010项目时遇到的问题与解决方法

从VC++到VS的开发平台转换十分常见,特此记录下可能有参考价值的报错与应对方法,供参考。 我所转换的项目是一个带有GUI界面的机器人控制程序,原本在VC6平台上开发,并且可以正常运行。从学长那里拷贝...

vc6.0工程升级VS2005常见问题总结

  • 2014年03月09日 01:13
  • 13KB
  • 下载

VC++6.0&&VS2008&MFC&API学习问题总结(三)(多线程更新控件)

1、GetBuffer(int size)是用来返回一个你所指定大小可写内存的成员方法。它和被重载的操作符LPCTSTR还是有点本质区别的,LPCTSTR是直接返回一个只读内存的指针,而GetBuff...

从VC6.0转到vs2008的一些问题

今天照孙鑫的书写了个自定义消息函数,结果出错(vs2008平台下),找了一下,发现问题所在,vs2008比vc6.0类型检查更加严格!    原文链接:http://apps.hi.baidu.c...

从VC6.0转到vs2008的一些问题

1消息映射VS2005对消息的检查更为严格,以前在VC6下完全正常运行的消息映射在VS2005下编译不通过a. ON_MESSAGE(message,OnMyMessage);  OnMyMessag...
  • kfqcome
  • kfqcome
  • 2011年01月06日 11:50
  • 526

VC++6.0项目转化为VS2010及调试的相关问题

1、一些math函数必须注意修改 例如fabs(),fabs((float)(key].x)); 例如pow(),pow((float)i , j ); C语言中的数学函数:pow ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:安装VS 6.0遇到的问题
举报原因:
原因补充:

(最多只允许输入30个字)