小弟的vs6出了个毛病,就是无法安装。情况是这样的:原来的VS6有了问题,我选择了先uninstall再install的方式(事实证明这是大错:-()。uninstall的时候就有n多个文件不能删除,当时没在意,可是在install时就在拷贝完文件后,更新系统环境时说:无法创建dcom帐号来注册组件。云云,接着就提示安装失败。有没有人有类似经历的?能帮帮我吗?(os是win2k)谢谢。///////////////////////////////////////////////////
这是刚才我问的一个关于VS6安装的问题,流星说的不太正确,详情见http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q257/4/13.asp&NoWebContent=1希望与我有一样问题的朋友都能解决

解决方案 »

  1.   

    BUG: Visual Studio "Setup Was Unable to Not Create a DCOM User Account"
    The information in this article applies to:
    Microsoft Visual Studio 6.0, when used with:
    the operating system: Microsoft Windows 2000
    This article was previously published under Q257413 
    SYMPTOMSWhen 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. 
    CAUSEVisual 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. 
    RESOLUTIONRe-install Visual Studio 6.0 Enterprise Edition without Visual Studio Analyzer: 
    Use the Custom setup, on the Visual Studio 6.0 Enterprise - Custom page, click Enterprise Tools, and then click Change Option.
    On the Visual Studio 6.0 Enterprise - Enterprise Tools page, under Options, make sure the Visual Studio Analyzer check box is not selected.
    Click to select all the other Visual Studio components that you want to install, and then click OK.
    Click Continue, and then follow the instructions that appear.
    To install Visual Studio Analyzer: 
    In Control Panel, double-click Add/Remove Programs, and then click Microsoft Visual Studio 6.0 Enterprise Edition.
    Click Change/Remove.
    In Visual Studio 6.0 Enterprise Setup, click Add/Remove.
    On the Visual Studio 6.0 Enterprise - Maintenance page, click Enterprise Tools, and then click Change Option.
    On the Visual Studio 6.0 Enterprise - Enterprise Tools page, under Options, click Visual Studio Analyzer, and then click OK.
    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: 
    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. 
    Run Distributed COM Configuration (dcomcnfg.exe).
    On the Applications tab, click MSVSA Local Event Concentrator Class, and then click Properties.
    On the Identity tab, set This User to match the user and password you created in step 1 of this procedure.
    STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. 
    REFERENCESFor 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