VC安装问题。

精灵猫1 2006-08-30 11:10:54
我先装过了VC,之后在控制面板里将VC删除,然后我看见电脑里仍然有一个文件夹C:\Program Files\Microsoft Visual Studio\common。我就手动删除了。
现在我重新安装VC,出现一个错误:
Setup error:
setup was unable to create a DCOM user account in order to register'C:\Program Files\Microsoft Visual Studio\common\Tools\VS-Ent98\Vanalyzr\valec.exe"
我按OK键后就退出安装了。
最后显示The Visual Studio 6.0 Enterprise Edition setup failed.Please try re-running the Installation Wizard.
请问这是怎么回事呢?
我开始还以为光盘坏了,结果换了几张都是这个错误
...全文
525 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
snowbirdfly 2006-08-30
  • 打赏
  • 举报
回复
恩~
最快的方法是重装系统~~~
应该和注册表有关~
tjandy 2006-08-30
  • 打赏
  • 举报
回复
以前重装VC6的时候遇到过这个问题,也没解决,后来重装系统就好了,同情你
精灵猫1 2006-08-30
  • 打赏
  • 举报
回复
如果不装Analyzer还能调试程序吗
精灵猫1 2006-08-30
  • 打赏
  • 举报
回复
Visual Studio Analyzer有什么用的啊?
如果不装对VC运行没有问题吧
redjuly 2006-08-30
  • 打赏
  • 举报
回复
试试看 msdn里讲的这个方法呢?

http://support.microsoft.com/kb/257413/en-us?spid=3042&sid=10

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 : August 15, 2005
Revision : 4.1
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.
Back to the top Back to the top
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.
Back to the top Back to the top
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.
Back to the top Back to the top
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Back to the top Back to the top
REFERENCES
For additional information regarding Visual Studio Analyzer, click the article numbers below to view the articles in the Microsoft Knowledge Base:
257369 (http://support.microsoft.com/kb/257369/EN-US/) Visual Studio Analyzer Does Not Collect COM+ Events
257382 (http://support.microsoft.com/kb/257382/EN-US/) Visual Studio Analyzer Does Not Collect Performance Monitor Events
Back to the top Back to the top
APPLIES TO
• Microsoft Visual Studio 6.0 Enterprise Edition, when used with:
Microsoft Windows XP Professional
Microsoft Windows XP Home Edition
Microsoft Windows 2000 Standard Edition
Back to the top Back to the top
Keywords:
kbbug kbpending kbvsvisanalyzer KB257413
Back to the top Back to the top
VC6下安装与配置 Wikipedia,自由的百科全书 本手册适应 OpenCV 1.0 安装。 目录 [隐藏] 1 安装Visual C++ 6.0 2 安装OpenCV 3 配置Windows环境变量 4 配置Visual C++ 6.0 4.1 全局设置 4.2 项目设置 [编辑]安装Visual C++ 6.0 略。 [编辑]安装OpenCV 从http://www.opencv.org.cn/ 下载OpenCV安装程序。假如要将OpenCV安装到C:\\Program Files\\OpenCV。(下面附图为OpenCV 1.0rc1的安装界面,OpenCV 1.0安装界面与此基本一致。)在安装时选择\"将\\OpenCV\\bin加入系统变量\"(Add\\OpenCV\\bin to the systerm PATH)。 [编辑]配置Windows环境变量 检查C:\\Program Files\\OpenCV\\bin是否已经被加入到环境变量PATH,如果没有,请加入。 [编辑]配置Visual C++ 6.0 [编辑]全局设置 菜单Tools->Options->Directories:先设置lib路径,选择Library files,在下方填入路径: C:\\Program Files\\OpenCV\\lib 然后选择include files,在下方填入路径: C:\\Program Files\\OpenCV\\cxcore\\include C:\\Program Files\\OpenCV\\cv\\include C:\\Program Files\\OpenCV\\cvaux\\include C:\\Program Files\\OpenCV\\ml\\include C:\\Program Files\\OpenCV\\otherlibs\\highgui C:\\Program Files\\OpenCV\\otherlibs\\cvcam\\include [编辑]项目设置 每创建一个将要使用OpenCV的VC Project,都需要给它指定需要的lib。菜单:Project->Settings,然后将Setting for选为All Configurations,然后选择右边的link标签,在Object/library modules附加上 cxcore.lib cv.lib ml.lib cvaux.lib highgui.lib cvcam.lib 如果你不需要这么多lib,你可以只添加你需要的lib。

16,472

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧