BUG: Error message when you try to create a new Visual Studio 2005 project on a computer that has Host Integration Server 2006 installed: "Install the C++ feature of Visual Studio 2005"

Article translations Article translations
Article ID: 928092 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario. On a computer that has Microsoft Host Integration Server 2006 installed, you start Microsoft Visual Studio 2005. Then, you try to create a new Visual Studio 2005 project that uses one of the following project types:
  • The Host File project type
  • The Transaction Integrator project type
In this scenario, you may receive the following error message:
Install the C++ feature of Visual Studio 2005.
Note Microsoft Visual C++ 2005 may already be installed.

RESOLUTION

To resolve this problem, use the method that is appropriate for your situation.

Method 1: Install Visual C++ 2005

If Visual C++ 2005 is not installed, install Visual C++ 2005. To do this, follow these steps:
  1. Click Start, click Run, type control, and then click OK.
  2. Click Add or Remove Programs.
  3. Click Microsoft Visual Studio 2005, and then click Change/Remove.
  4. When the Visual Studio 2005 Setup Wizard appears, click Next.
  5. Expand Microsoft Visual Studio 2005, and then expand Language Tools.
  6. Click to select the Visual C++ check box.
  7. Click Update.
  8. Restart the computer when you are prompted.

Method 2: Repair the existing Visual C++ 2005 installation

If Visual C++ 2005 is already installed, repair the existing Visual C++ 2005 installation. To do this, follow these steps:
  1. Click Start, click Run, type control, and then click OK.
  2. Click Add or Remove Programs.
  3. Click Microsoft Visual Studio 2005, and then click Change/Remove.
  4. When the Visual Studio 2005 Setup Wizard appears, click Next.
  5. Click Repair/Install.
  6. Click Browse, locate the Visual Studio 2005 installation media, and then click OK.

    Alternatively, type the path of the Visual Studio 2005 installation media, and then click OK.
  7. Restart the computer when you are prompted.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The Host File project type and the Transaction Integrator project type require the following Microsoft Interface Definition Language (MIDL) compiler components:
  • Midl.exe
  • Rc.exe
  • Cl.exe
Visual C++ 2005 installs these components. The InstallDir registry value of the following registry subkey stores the location of these components:
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0
If these components are not in the location that the InstallDir registry value stores, you experience the problem that is mentioned in the "Symptoms" section.

Steps to reproduce the problem

  1. On a computer that has Host Integration Server 2006 installed, start Visual Studio 2005.
  2. On the File menu, point to New, and then click Project.
  3. Under Project Types, click Host Integration Projects.
  4. Under Templates, click one of the following project types:
    • Host File Project
    • Transaction Integrator Project
  5. Type a project name, and then click OK.

Properties

Article ID: 928092 - Last Review: December 29, 2006 - Revision: 1.2
APPLIES TO
  • Microsoft Host Integration Server 2006
  • Microsoft Visual Studio 2005 Team Edition for Software Architects
  • Microsoft Visual Studio 2005 Team Edition for Software Developers
  • Microsoft Visual Studio 2005 Team Edition for Software Testers
  • Microsoft Visual Studio 2005 Professional Edition
Keywords: 
kbtshoot kbbug KB928092

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com