Main Menu
Knowledge Base
Product Registration
Log an Incident
Request a Feature
Search Incidents/Bug Reports


Search KB

Please note: In an effort to better serve you, we are in the process of restructuring DevCenter. In the process, we have moved many items that you may be used to finding in DevCenter over to the Main Site. If you are having trouble locating something, please try looking at the following places:

Knowledge Base Article: KB08624

PRB:Toolbox Utility fails to load (CLR 2.0)


The information in this article applies to:
ALL (vAll)
  Article Created: 
12/27/2005

Last Updated:
9/28/2006

Article Type
Problem
  
Page Options
Average Rating:
7 out of 10

Rate this page
Print this page
E-mail this page
Add to Favorites

Summary

This article applies only to CLR 2.0 versions of NetAdvantage within Visual Studio 2005.

The NetAdvantage Toolbox Utility automates the process of placing NetAdvantage controls within tabs in the toolbox of Visual Studio. For those who have SQL Server Management Studio Express CTP or SQL Server 2005 installed, however, the following error will usually occur:

Package 'Toolbox Control Installer Package' failed to load.
at EnvDTE._DTE.ExecuteCommand(String CommandName, String CommandArgs)

Additional Information

The problem is that SQL Server 2005 overwrites a couple of registry settings. These setting are used by Tools.InstallCommunityControls, the tool that Visual Studio 2005 provides and that the NetAdvantage Toolbox Utility uses. Correcting the problem requires editing two registry keys.

Step-By-Step Example

CAUTION! You should always be very careful when editing registry settings. Changing certain settings could cripple your computer. Infragistics provides these steps as-is, and strongly encourages you to back up both your system and your registry before attempting to make these changes.

1) Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}, change the CodeBase value to refer to the location of the file Microsoft.VisualStudio.ToolBoxControlInstaller.dll under your installation of Visual Studio 2005. Assuming you've installed Visual Studio 2005 to the default location, this will be: file:///C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Microsoft.VisualStudio.ToolBoxControlInstaller.dll

2) Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}\SatelliteDll, change the Path value to refer to the path of Visual Studio 2005 Common7\IDE folder. Assuming you've installed Visual Studio 2005 to the default location, this will be: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\

3) Open the Visual Studio 2005 Command prompt and enter the following command:

devenv /setup

You should now be able to run the NetAdvantage Toolbox Utility.


How would you rate the quality of this content?
Poor -----------------------------------------> Outstanding

Tell us why you rated the content this way. (optional)