http://support.microsoft.com/kb/257413/

这是Visual   Studio的一个BUG,只出现在Windows   2000/XP下。如果你不使用Visual   Studio   Analyzer,可以在安装时选择Custom,然后在Enterprise   Tools中清除掉Visual   Studio   Analyzer。再安装就没有这个问题了。

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

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

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

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

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


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
Keywords:
kbbug kbpending kbvsvisanalyzer KB257413
Back to the top

PRB: Visual Studio Analyzer Configuration Problems

View products that this article applies to.
Article ID : 196756
Last Review : October 2, 2003
Revision : 3.0
This article was previously published under Q196756
On This Page
SYMPTOMS
CAUSE
RESOLUTION
STATUS
MORE INFORMATION

Steps to Reproduce the Behavior

REFERENCES

SYMPTOMS

When using Visual Studio Analyzer to create a new project on Windows NT, you receive an unexpected error, such as:

Visual Studio Analyzer is unable to connect to the machine. Ensure that it is powered, connected to the network and that the server-side components have been installed.
You cannot run Visual Studio Analyzer at all.
You receive many errors from VALEC.exe, usually Access is Denied errors or General Protection Faults.
Back to the top

CAUSE

Visual Studio Analyzer installation procedures create a new user account called VUSR_<machine>, for example, VUSR_DEVELOP001 if your computer is named DEVELOP001.

This user account is used in some of the system services that Visual Studio Analyzer runs to collect performance information from your applications when it analyzes them.

If this user account does not have the correct access permissions, Visual Studio Analyzer fails in various places. The correct permissions are that all of the files it needs to access are readable and executable by the Everyone user group.

Back to the top

RESOLUTION

To resolve this problem, do one of the following:

Add the VUSR_<machine> user account to the Administrators group, or some other group that can provide execute permissions on files in the Visual Studio Analyzer directories and the %SYSTEM%\System32 directory.
Replace the permissions of the directory \Program Files\Microsoft Visual Studio so that the VUSR_<machine> account has permission to run programs and read/write log files. If you use the Windows NT Explorer, this procedure might change other permissions set in this directory (this is normal behavior).
Back to the top

STATUS

This behavior is by design. This problem only arises if the default directory access permissions for Visual Studio or its associated products are changed on a computer where the components reside on an NTFS partition.

Back to the top

MORE INFORMATION

Steps to Reproduce the Behavior

1. In Windows Explorer, go to the \Program Files\Microsoft Visual Studio folder.
2. Right-click on the folder, click Properties and click the Security tab.
3. Click Permissions and use the dialog box to disallow the VUSR_<machine> user from accessing this directory.
4. Run Microsoft Visual Studio Analyzer and create a project.
Back to the top

REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

192661 (http://support.microsoft.com/kb/192661/EN-US/) PRB: Error: Valec.exe - Invalid Current Directory
Back to the top


APPLIES TO
Microsoft Visual Studio 6.0 Enterprise Edition
Back to the top
Keywords:
kberrmsg kbsetup kbprb KB196756
Back to the top

转载于:https://www.cnblogs.com/miaomiaoga/archive/2006/10/09/524451.html

求助:安装程序无法创建一个DCOM用户帐号来注册.....\valec.exe相关推荐

  1. linux建立用户帐号的命令,有关Linux创建用户命令的详细讨论

    Linux系统用户的创建不同于windows系统,这里陈述一下Linux创建用户的命令.包括创建用户,修改密码,修改信息,新建群组. Linux创建用户命令1:创建新用户 useradd命令(也可以使 ...

  2. 如何创建隐藏用户帐号

                      创建隐藏用户 要想控制远端的计算机,那我想就少不了隐藏用户帐号的问题了,其实创建隐藏用户帐号还是比较简单的,现在我就把创建隐藏用户帐号告诉大家.<?xml:n ...

  3. 【AD】取消普通域用户帐号加域权限授权特定普通域用户加域权限

    通常来说,没有做什么特别的设定的话,都是手动加域,且使用的是管理员帐号,这种情况下是有风险的,容易被人记忆密码.所以,如果可以设置一个普通用户帐号,专门用来执行加域操作,就会降低此类风险.其实默认情况 ...

  4. 给win7装系统提示“安装程序无法创建新的系统分区,也无法定位现有系统分区”的一个解决方案

    我给一台XP换WIN7,按照程序进PE,加载镜像,安装之后提示"安装程序无法创建新的系统分区,也无法定位现有系统分区". 解决方案: 在PE中打开微软官方镜像,(推荐下载地址: h ...

  5. 服务器系统安装提示无法创建新的系统分区,安装win7旗舰版系统时提示“安装程序无法创建新的系统分区”怎么解决...

    安装Win7系统的时候提示"安装程序无法创建新的系统分区"怎么办?安装win7旗舰版系统时难免会遇到各种奇怪的问题,都是正常现象,其实想解决问题也不难.按照下面小编讲解方法操作,一 ...

  6. 完美解决安装系统出现问题——安装程序无法创建新的系统分区,也无法定位现有的系统分区,详情请查看日志文件,

    "安装程序无法创建新的系统分区" 怎么办? XP换Win7系统问题 1 步骤一:利用PE系统里的虚拟光驱软件加载WIN7 ISO文件. PS: 一般PE系统都集成了该类软件的. 2 ...

  7. 硬盘安装win7中“安装程序无法创建系统分区,也无法定位系统分区”的问题!

    因为笔记本的光驱坏了,一直装系统都是从硬盘上装,可是忽然有一次在按装win7的时候,提示"安装程序无法创建系统分区,也无法定位系统分区"的错误提示,按照网上的办法解决也没效果,后来 ...

  8. [Win7安装]安装程序无法创建新的系统分区,也无法定位现有系统分区(转载)

    最近换了新公司,要用前一个离职员工的电脑,很乱,而且C盘快满了.想着重装一下系统,让自己有个干净舒服的办公环境.结果新公司只有内网,不给上外网.我就要在家里下载好东西拿u盘过来重装.一开始用网上的一键 ...

  9. 安装系统时出现-安装程序无法创建新的系统分区,也无法定位现有的系统分区,解决方法

    使用光盘安装系统,结果格式化C盘后,正准备装系统了,突然弹出"安装程序无法创建新的系统分区,也无法定位现有的系统分区",就好像下图所示: 看到这种情况,解决办法,具体步骤如下: 1 ...

最新文章

  1. 1.(基于欧式距离聚类实现的点云分割)
  2. VMware View是如何帮助企业省钱的
  3. 皮一皮:拦着人类进化的原来是酒精?
  4. 【Java数据库】CLOB BLOB 在数据库中存入/取出大量文本数据、二进制文件(图片)
  5. Oracle备份standby,Oracle 11g 利用泠备份恢复standby库
  6. 网络包排错指南-类linux 平台
  7. 特斯拉中国月销破5万台创纪录:每46秒就能卖出一辆车
  8. 【嵌入式】第一次大作业_记录环境温度并存入数据库
  9. 【个人笔记】OpenCV4 C++ 快速入门 10课
  10. HTML组件化CSS方面的思考
  11. Atitit 微服务之道 attilax著 1. 什么是微服务架构? 1 1.1. 、微服务与SOA的关系 :微服务架架构师面向服务架构(SOA)的一种特定实现 2 1.2. 微服务与康威定律 2 1
  12. 买电梯房几楼才是最好 几个最差楼层千万不能选
  13. python math.sqrt怎么扩大倍数_Python math.sqrt方法代码示例
  14. WordPress和October
  15. java多人聊天室与网络画板
  16. HDU 2826 || The troubles of lmy(判断两个N边形是否相似
  17. 计算机英语情景对话二人组,英语情景对话要求两人的对话 时间5分钟左右 内容是在校园两个好朋友谈论...
  18. 题目:请写一段将正整数转化为四进制字符串的函数(十进制正整数转四进制字符串)
  19. # 北京市职业技能提升管理平台#大数据#
  20. 互联网之父:文登•瑟夫

热门文章

  1. 用HTML做软件UI用到的的一些技术
  2. 3. Recursive AutoEncoder(递归自动编码器)
  3. JS实战 · 复选框全选操作
  4. 两种类型的Spark RDD task解析以及iterator解析 -- (视频笔记)
  5. PMP-PMBOK-培训(3)Introduction to Project Process Groups and Initiating a Project
  6. struts中多个模块时,使用多个struts-config.xml文件之间时如何切换的!
  7. matlab 城市间最短路径
  8. 函数名/函数地址/函数指针
  9. Python应用实战-Pandas 计算连续行为天数的几种思路
  10. 485不用双绞线可以吗_现在在上海,挡风玻璃可以一个标志都不用贴吗?