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:
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:
- Click Start, click Run, type control, and then click OK.
- Click Add or Remove Programs.
- Click Microsoft Visual Studio 2005, and then click Change/Remove.
- When the Visual Studio 2005 Setup Wizard appears, click Next.
- Expand Microsoft Visual Studio 2005, and then expand Language Tools.
- Click to select the Visual C++ check box.
- Click Update.
- 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:
- Click Start, click Run, type control, and then click OK.
- Click Add or Remove Programs.
- Click Microsoft Visual Studio 2005, and then click Change/Remove.
- When the Visual Studio 2005 Setup Wizard appears, click Next.
- Click Repair/Install.
- 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.
- 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
- On a computer that has Host Integration Server 2006 installed, start Visual Studio 2005.
- On the File menu, point to New, and then click Project.
- Under Project Types, click Host Integration Projects.
- Under Templates, click one of the following project types:
- Host File Project
- Transaction Integrator Project
- Type a project name, and then click OK.
Keywords: kbtshoot kbbug KB928092