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

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

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


PRB: Visual Studio Analyzer Configuration Problems

Article ID:196756
Last Review:October 2, 2003
Revision:3.0
This article was previously published under Q196756
On This Page
SYMPTOMSSYMPTOMS
CAUSECAUSE
RESOLUTIONRESOLUTION
STATUSSTATUS
MORE INFORMATIONMORE INFORMATION
Steps to Reproduce the BehaviorSteps to Reproduce the Behavior
REFERENCESREFERENCES

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 topBack 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 topBack 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 topBack 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 topBack 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 topBack 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 topBack to the top

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

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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/363333.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

js中split()和join()的用法

Split()方法&#xff1a;把一个字符串分割成字符串数组 如上所示&#xff1a;把字符串a按空格分隔&#xff0c;得3个字符串数组。 在如&#xff1a; var a”hao are you” a.split(“”); 得到[h,a,o,a,r,e,y,o,u]; Join方法: 把数组中的所有元素转换为一个字符串 如上图所…

IT行业经典面试题,121套面试题

IT行业经典面试题&#xff0c;121套面试题 资源大小&#xff1a; 580.80KB资源类型&#xff1a;发布人&#xff1a; eyelife 发布日期&#xff1a; 2天前Tag&#xff1a; 名企,计算机 资源分&#xff1a; 10下载人数&#xff1a; 857 4.33/347人评分 12 3 4 5 评论 分享…

词云第一次实践,参考学校老师讲的一些知识点还有网上大佬的代码实现

from wordcloud import WordCloudimport cv2import jiebawith open(1906月考.txt, r, encodingutf-8) as f: # 以读的方式打开词云参考的文档 text f.read() # 阅读cut_text .join(jieba.cut(text)) # 通过jieba库的cut精确模式进行分词# 得到词云形状color_mask cv2…

Spring Integration 4.0:完整的无XML示例

1.简介 Spring Integration 4.0终于发布了 &#xff0c;并且此版本具有非常好的功能。 本文介绍的一种可能性是完全不使用XML即可配置集成流程。 那些不喜欢XML的人仅使用JavaConfig就可以开发集成应用程序。 本文分为以下几节&#xff1a; 介绍。 流程概述。 弹簧配置。 …

CSS伪类的三种写法

今天逛蓝色时&#xff0c;无意发现了有人讨论伪类的正确写法&#xff0c;让我对伪类的认识也更清晰了&#xff0c;转贴于此&#xff0c;以备日后查询(原贴当时没记下地址&#xff0c;已经记不得了) Code<style>a.tb{text-decoration:none;}a.tb:link{color:#FF9900;}a.tb…

如何通过示例在Java中使用CopyOnWriteArraySet

CopyOnWriteArraySet是CopyOnWriteArrayList类的弟弟。 这些是专用集合类&#xff0c;这些类是在JDK 1.5上添加的&#xff0c;以及它们最流行的表亲ConcurrentHashMap 。 它们是并发收集框架的一部分&#xff0c;位于java.util.concurrent包中。 CopyOnWriteArraySet最适合作为…

生成器

一、什么是生成器 通过列表生成式&#xff0c;我们可以直接创建一个列表。但是&#xff0c;受到内存限制&#xff0c;列表容量是有限的。而且&#xff0c;创建一个包含100万个元素的列表&#xff0c;不仅占用很大的存储空间&#xff0c;如果我们仅仅需要访问前面几个元素&#…

面向对象的三大特征 封装继承多态

面向对象设计 和开发程序的好处 交流更加流畅 、提高设计和开发效率 封装将类的某些信息隐藏在类内部&#xff0c;不允许外部程序直接访问&#xff0c;而是通过该类提供的方法来实现对隐藏信息的操作和访问私有化属性 提供公有化的访问方法 保证数据的安全性封装的步骤 …

Spring / Hibernate应用程序的性能调优

对于大多数典型的Spring / Hibernate企业应用程序&#xff0c;应用程序性能几乎完全取决于其持久层的性能。 这篇文章将讨论如何确认我们是否存在“数据库绑定”应用程序&#xff0c;然后逐步讲解7个经常使用的“快速取胜”技巧&#xff0c;这些技巧可以帮助提高应用程序性能。…

我的学习开发环境,呵呵!

今天到电子市场去&#xff0c;花了近700块&#xff0c;弄了块ARM的学习单板&#xff0c;再也不用去搞什么虚拟机了&#xff01; 简单的看了一下开发手册&#xff0c;还有点麻烦&#xff0c;可能得花点时间去把它搞清楚&#xff01; 但这块单板的功能还是很强的&#xff0c;基本…

Jsの练习-数组常用方法

1. join() 方法&#xff1a; <!DOCTYPE html> <html lang"en"> <head><meta charset"UTF-8"><meta name"viewport" content"widthdevice-width, initial-scale1.0"><meta http-equiv"X-UA-Comp…

新手学习笔记Spring AOP全自动编程

业务类 package oyb.service;public interface IUserService {public void add();public void delete(); } package oyb.service;public class UserServiceImpl implements IUserService {Overridepublic void add() {System.out.println("添加用户。。。。");}Overr…

9 个鲜为人知的 Python 数据科学库

除了 pandas、scikit-learn 和 matplotlib&#xff0c;还要学习一些用 Python 进行数据科学的新技巧。Python 是一种令人惊叹的语言。事实上&#xff0c;它是世界上增长最快的编程语言之一。它一次又一次地证明了它在各个行业的开发者和数据科学者中的作用。Python 及其库的整个…

Spring4:具有Java 8 Date-Time API的@DateTimeFormat

在Spring 3.0中作为Formatter SPI的一部分引入的DateTimeFormat批注可用于解析和打印Web应用程序中的本地化字段值。 在Spring 4.0中&#xff0c; DateTimeFormat批注可以直接与Java 8 Date-Time API&#xff08; java.time &#xff09;一起使用。 在Spring中&#xff0c;可以…

JSF中run项目时候Tomcat8启动不了的一种方法

把另一个博客内容迁移到这 我的问题是Tomcat是可以启动的 但是run那个jsp的时候七月 10, 2016 3:14:54 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property source to org.eclipse…

elasticsearch_dsl.exceptions.ValidationException: You cannot write to a wildcard index.

elasticsearch_dsl.exceptions.ValidationException: You cannot write to a wildcard index. 这里是因为版本不匹配的问题 查看es版本方法如下&#xff1a; 查看elasticsearch包与elasticsearch-dsl版本方法&#xff08;pip list&#xff09;如下&#xff1a; 因为我的es是5.1…

在Java中对Singleton类进行双重检查锁定

Singleton类在Java开发人员中非常常见&#xff0c;但是它给初级开发人员带来了许多挑战。 他们面临的主要挑战之一是如何使Singleton保持为Singleton&#xff1f; 也就是说&#xff0c;无论出于何种原因&#xff0c;如何防止单个实例的多个实例。 对Singleton进行双重检查锁定是…

wstngfw中使用Viscosity连接OpenV-P-N服务器

wstngfw中使用Viscosity连接OpenV-P-N服务器 在本例中&#xff0c;将假设以下设置&#xff1a; 站点 A站点 B名称Beijing Office&#xff08;北京办公室&#xff09;名称Shenzheng Office&#xff08;深圳办公室&#xff09;WAN IP192.168.10.46WAN IP192.168.20.46LAN 子网192…

开张了!

今天开张了&#xff0c;试试看&#xff01; Code1using System; 2using System.Collections.Generic; 3using System.Text; 4 5namespace Model 6{ 7 public enum SiteType 8 { System,External,All}; 9 [Serializable]10 class SiteInfo11 {12 public i…

dubbo和zookeeper的关系

转载前言&#xff1a;网络上很多教程没有描述zookeeper和dubbo到底是什么关系、分别扮演了什么角色等信息&#xff0c;都是说一些似是而非的话&#xff0c;这里终于找到一篇文章&#xff0c;比较生动地描述了注册中心和微服务框架之间的关系&#xff0c;以及他们之间的合作分工…