Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Visual Studio 2005 crashes on shutdown due to an incorrect version of dteproperties.tlb on the computer

Visual Studio 2005 crashes on shutdown due to an incorrect version of dteproperties.tlb on the computer

  • Comments 1

Problem Description

Visual Studio 2005 crashes on shutdown. 

Possible Cause

A type library (TLB) named dteproperties.tlb that changed between Visual Studio 2005 Beta 2 and the final release may not have been properly updated on the computer when installing the final release of Visual Studio 2005.

In order to determine whether the version of dteproperties.tlb on the computer is the correct version, you can examine the file attributes.  The file is located in <VSInstall>\Common7\IDE\dteproperties.tlb where <VSInstall> is the location of your Visual Studio 2005 installation. By default, this location is c:\Program Files\Microsoft Visual Studio 8.

The correct file attributes for the final released version of dteproperties.tlb are:

  • Time Stamp: 09/22/2005 11:16 PM
  • File Size: 27,112

Recommendations

To prevent Visual Studio 2005 from crashing, replace the incorrect version of the file dteproperties.tlb. This can be done by deleting the file and then repairing the Visual Studio 2005 installation, or by manually replacing the incorrect version of the file.

To replace dteproperties.tlb by repairing or reinstalling Visual Studio 2005, follow these steps:

  1. Delete <VSInstall>\Common7\IDE\dteproperties.tlb, where <VSInstall> is the location of your Visual Studio 2005 installation. By default, this location is C:\Program Files\Microsoft Visual Studio 8.
  2. Click Start, and then click Control Panel.
  3. Double-click Add or Remove Programs.
  4. In the list of installed programs, select Microsoft Visual Studio 2005, and then click Change/Remove.
  5. Follow the installation wizard instructions to repair or reinstall Visual Studio 2005.

To manually replace dteproperties.tlb with a copy of the file from the installation media, follow these steps:

  1. Extract the file named FL_dteproperties_tlb_80994________.3643236F_FC70_11D3_A536_0090278A1BB8 from the cab file named <MediaDir>:\vs\_14572_RTL_x86_enu_DTEProperties_Typelib.cab to a location on your hard drive (<LocalDir>).
  2. Verify that the file size and time stamp of <LocalDir>\ FL_dteproperties_tlb_80994________.3643236F_FC70_11D3_A536_0090278A1BB8 are different than the file size and time stamp of <VSInstall>\Common7\IDE\dteproperties.tlb.
  3. Click on the Start menu, choose Run and type cmd
  4. From the cmd prompt, run the following command: copy <LocalDir>\FL_dteproperties_tlb_80994________.3643236F_FC70_11D3_A536_0090278A1BB8 <VSInstall>\Common7\IDE\dteproperties.tlb where <LocalDir> is the directory that contains the extracted file and <VSInstall> is the location of your Visual Studio 2005 installation.