BUG: the error message "setup was unable to create a DCOM User Account" appears in Visual Studio 6.0 (Installation Program Cannot create DCOM user account)
Symptom
When you run the Visual Studio 6.0 installer, you may receive the following error message:
Setup was unable to create a DCOM User Account in order to register <path> \ valec.exe
This error message appears first and may follow the second message, indicating that the installation program has failed.
Cause
Visual Studio analyzer is one of the products included in Visual Studio Enterprise Edition 6.0. Because a user's security policy in Windows 2000 has been changed, it cannot create a local user account to be run.
Solution
Reinstall Visual Studio 6.0 Enterprise Edition without Visual Studio Analyzer:
1. |
Use custom installation. On the "Visual Studio 6.0 enterprise-custom" page, click "Enterprise Edition Tools" and then click "change options ". |
2. |
On the "options" page of "Visual Studio 6.0 enterprise-Enterprise Edition Tools", make sure that the "Visual Studio analyzer" check box is not selected. |
3. |
Click to select all other Visual Studio components to install, and then click OK ". |
4. |
Click "continue" and follow the instructions. |
Install Visual Studio Analyzer:
1. |
In control panel, double-click Add/delete programs, and then click Microsoft Visual Studio 6.0 Enterprise Edition ". |
2. |
Click Change/Delete ". |
3. |
In Visual Studio 6.0 enterprise installer, click Add/Delete ". |
4. |
On the Visual Studio 6.0 enterprise-maintenance page, click Enterprise Edition tools and then click Change options ". |
5. |
Under options on the Visual Studio 6.0 enterprise-Enterprise Edition tools page, click Visual Studio analyzer and click OK ". |
6. |
On the Visual Studio 6.0 enterprise-maintenance page, click Continue and follow the instructions that appear. When you receive the error message described in the "symptoms" section, continue with the "Visual Studio Installation Wizard ". The installer reports an error. |
Create a local account that will run as Visual Studio Analyzer:
1. |
Create a local user on a computer running Visual Studio Enterprise Edition 6.0. For more information about how to create a local user, see Windows 2000 help. |
2. |
Run the Distributed COM configuration (dcomcnfg.exe ). |
3. |
On the Application 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 created in step 1 of this process. |