VS2005 ToolBox Installation failed. Package ‘ToolBox Control Installer Package’ has failed to load property (GUID = {36839529-3AF3-47FA-8194-F4A3FA9F0ED7})

Some of our customers recently complaining about this error message during ToolBox Installation using 2007 R1 Installer which released on last 31 January 2007.

We’ve investigated what could cause this error intensively and found out that the VS2005 Tools.InstallCommunityControls package have high dependency with PC environment’s registry keys:

1. ToolBox out of sync.

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\UserToolBoxControls\

To manage the user controls in the Toolbox, Visual Studio maintains a list in the Registry. This list refers to directories under the <My Documents>\Visual Studio 2005\Controls\ folder. This list must contain existing directories. If this list contains entries for directories that do not exist, the Toolbox package fails.

 The following screenshots show out-of-sync configuration:

11.jpg

21.jpg

As you can see in figure 1 and 2, the registry under key:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\UserToolBoxControls\

contains a value called NotExistingDirectoryName which does not exist in: C:\documents and settings\Username\My Documents\Visual Studio 2005\Controls\

To resolve this issue: Delete the registry values containing not existing directories from the registry. (In this case the NotExistingDirectoryName value)

2. Corrupted registration entries that manage the packages.

The second resolution comes from Chetan Chudasama’s Weblog:

http://blogs.msdn.com/chetanc/archive/2005/11/16/493495.aspx

If you have the SQL Server Management Studio Express CTP or SQL Server 2005, then it is overwriting some registry key settings. The workaround for this is:

  • Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}, change the CodeBase value to use the Visual Studio 8.0 location, for e.g. file:///C:\Program Files\Microsoft Visual Studio8\Common7\IDE\Microsoft.VisualStudio.ToolBoxControlInstaller.dll
  • Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}\SatelliteDll, change the Path value to point to the Common7\IDE folder for e.g. C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\
  • Open the Visual Studio Command Prompt and run devenv /setup

If you encounter this Package ‘ToolBox Control Installer Package’ issue, try to re-configure the registry as mentioned above. Furthermore you’ll need to add the controls manually to VS2005 toolbox using the following step :

  1. Open the Visual Studio Command Prompt and run devenv /setup
  2. run devenv /Command Tools.InstallCommunityControls

Currently we have implemented a new way to install the controls to toolbox, so you can have faster and smoother installation process. This new technique no longer depends on “devenv /setup” or “InstallCommunityControls”, so rest assured that these existing problems have been completely eliminated.  We will post this new installer in near future.

Advertisements

3 thoughts on “VS2005 ToolBox Installation failed. Package ‘ToolBox Control Installer Package’ has failed to load property (GUID = {36839529-3AF3-47FA-8194-F4A3FA9F0ED7})

  1. Pingback: WebUI Studio.NET 2007 Refresh is now available. « Intersoft Solutions Corporate Blog

  2. Haritha

    I tried lot of methods to install custom server controls to Visual Studio toolbox.
    Some methods install controls to toolbox. But after uninstalling them, those controls still display in the toolbox.

    Please let us know your new method.

    Thank you.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s