Symptom:
When installing ZeeControls, the following message was displayed in a command prompt:
Adding controls to Visual Studio 2005 ...
Error: Package 'ToolBox Control Installer Package' failed to load.
Details:
System.Runtime.InteropServices.COMException
at EnvDTE._DTE.ExecuteCommand(String CommandName, String CommandArgs)
at 0ROCq06aQQ5.00QQCeQ.0Vqkmpm()
at 0ROCq06aQQ5.00QQCeQ.0ZX1UODFB(String[] )
Press any key to exit ...
After you pressed a key, the installation wizard continued to completion.
Causes and fixes:
There are three separate causes that could cause the problem. The latter two are related to invalid registry entries. Please check and fix all cases before re-installing ZeeControls.
- MS ASP.NET AJAX Extensions 1.0 not installed
Update (2009/4/1): Starting from version 2.1, ZeeControls is distributed in 3 editions. One of them requires MS ASP.NET AJAX 1.0. Please review our installation guide to choose the right edition.
MS ASP.NET AJAX Extensions 1.0 can be downloaded from:
http://go.microsoft.com/fwlink/?LinkID=77296.
- Orphan entry in UserToolBoxControls registry entry
There is a list of folder names in the following registry key:
VS2005: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\UserToolBoxControls\
VS2008: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\UserToolBoxControls\
Each of them refers to a folder under My Documents\Visual Studio 2005\Controls (VS2008: My Documents\Visual Studio 2008\Controls). Please check if there is any entry in that registry key that the corresponding folder doesn't exist. If so, remove that registry string value.
- Corrupted registry entries by previous SQL Server installation
Installation of SQL Server Management Studio Express CTP or SQL Server 2005 might overwrite the following registry keys with invalid values. Please change them to correct ones.
Registry key 1:
VS2005: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}
VS2008: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}
The correct value for CodeBase string should refer to the Visual Studio 2005/2008 installed location, e.g.
VS2005: file:///C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Microsoft.VisualStudio.ToolBoxControlInstaller.dll
VS2008: file:///C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\Microsoft.VisualStudio.ToolBoxControlInstaller.dll
Registry key 2:
VS2005: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}\SatelliteDll
VS2008: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}\SatelliteDll
The correct value for Path string should refer to the Visual Studio 2005/2008 installed location, e.g.
VS2005: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\
VS2008: C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\
After changing the registry values, please re-run ZeeControls installer. There is no need to un-install ZeeControls first.