Microsoft KB Archive/928092

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

Article ID: 928092

Article Last Modified on 12/29/2006

-

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

-



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.
 * 1) 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 &quot;Applies to&quot; 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:

If these components are not in the location that the InstallDir registry value stores, you experience the problem that is mentioned in the &quot;Symptoms&quot; 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:
 * 5) * Host File Project
 * 6) * Transaction Integrator Project
 * 7) Type a project name, and then click OK.

Keywords: kbtshoot kbbug KB928092

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.