Microsoft KB Archive/916900

= FIX: Error message after you successfully install Visual Studio 2005 and then start the development environment: &quot;Package load failure&quot; =

Article ID: 916900

Article Last Modified on 1/12/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Express Edition

-





SYMPTOMS
After you successfully install Microsoft Visual Studio 2005, you may receive an error message that resembles the following when you start the development environment (Devenv.exe):

Package load failure

Package 'Visual Studio Common IDE package' has failed to load properly (GUID = {6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C})



CAUSE
This problem occurs when Microsoft Visual Studio 2005 Beta 2 previously existed on the computer before you installed the retail version of Visual Studio 2005. Even though Visual Studio 2005 Beta 2 was removed, leftover components may be installed on the computer.



RESOLUTION
To resolve this problem, follow these steps:  Run the Visual Studio 2005 Troubleshooting tool (Ttool.exe). The Ttool.exe tool detects and removes the beta components from the computer. If you select the Uninstall Visual Studio components option, you must reinstall Visual Studio 2005 after you run the tool. If you have already uninstalled Visual Studio 2005, select the Find and fix problems option to try to detect old Visual Studio assemblies in the Global Assembly Cache (GAC) and then remove the assemblies. To obtain the Ttool.exe tool, contact Microsoft Product Support Services (PSS). To do this, visit one of the following Microsoft Web sites:

http://support.microsoft.com/common/international.aspx?rdpath=dm;en-us;select

http://support.microsoft.com/contactus/

 If the Ttool.exe tool does not resolve the problem, run a command to clear out the components from the native image cache. To do this, follow these steps:  Exit Visual Studio 2005, and then restart the computer to make sure that Microsoft Windows is not using any Visual Studio-related files. Click Start, click Run, type cmd, and then click OK. Type the following command, and then press ENTER:

rd /s /q %windir%\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#

This command removes a subset of native images from the cache that have proven to be problematic in the past. </li> If steps 1 and 2 do not resolve the problem, run a command to clear out the whole native image cache. To do this, follow these steps:  Exit Visual Studio 2005, and then restart the computer to make sure that Microsoft Windows is not using any Visual Studio-related files.</li> Click Start, click Run, type cmd, and then click OK.</li> Type the following command, and then press ENTER:

rd /s /q %windir%\assembly\NativeImages_v2.0.50727_32

This command removes all Visual Studio 2005 native image form the cache.</li></ol> </li> If steps 1-3 do not resolve the &quot;Package load failure&quot; error messages, you may have to remove the current version of Visual Studio 2005 that you have installed. Then, you must manually remove the leftover components from the system.

After you complete this step, reinstall Visual Studio 2005. To remove and clean up the components, follow these steps:  Uninstall Visual Studio 2005. For more information, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/vstudio/aa718704.aspx

</li> Restart the computer.</li> Try to reinstall Visual Studio 2005.</li></ol> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kberrmsg kbqfe kbfix KB916900

-

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

© Microsoft Corporation. All rights reserved.