安装 VB6 - 无法创建 DCOM 用户帐户时出错
Installing VB6 - error unable to create a DCOM user account
当我尝试在 Windows 10 上安装 Visual Basic 6(又名 Visual Studio 6)时出现此错误:
Setup Error
Setup was unable to create a DCOM user account in order to register ”
..\Program Files\Microsoft Visual
Studio\Common\Tools\VS-Ent98\Vanalyzr\valec.exe”
有解决办法吗?
注意:我确实尝试 运行 作为管理员;例如,运行 从提升的命令安装 window 或右键单击安装程序并 select "run as admin"。我们在这种情况下尝试过,但没有效果。
Microsoft 的一篇文章中描述了此问题,该文章现在似乎已失效:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257413
该页面的内容是:
Re-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.
类似的 material 也可以在这里找到:
- https://social.msdn.microsoft.com/Forums/vstudio/en-US/f84a9ef0-bee3-4dcf-8045-3b8c56f22180/setup-was-unable-to-create-a-dcom-user?forum=vclanguage
- http://vbcity.com/forums/t/72710.aspx
但是所有重要的细节都在这个答案中转载了。
当我尝试在 Windows 10 上安装 Visual Basic 6(又名 Visual Studio 6)时出现此错误:
Setup Error
Setup was unable to create a DCOM user account in order to register ” ..\Program Files\Microsoft Visual Studio\Common\Tools\VS-Ent98\Vanalyzr\valec.exe”
有解决办法吗?
注意:我确实尝试 运行 作为管理员;例如,运行 从提升的命令安装 window 或右键单击安装程序并 select "run as admin"。我们在这种情况下尝试过,但没有效果。
Microsoft 的一篇文章中描述了此问题,该文章现在似乎已失效: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257413
该页面的内容是:
Re-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.
类似的 material 也可以在这里找到:
- https://social.msdn.microsoft.com/Forums/vstudio/en-US/f84a9ef0-bee3-4dcf-8045-3b8c56f22180/setup-was-unable-to-create-a-dcom-user?forum=vclanguage
- http://vbcity.com/forums/t/72710.aspx
但是所有重要的细节都在这个答案中转载了。