"The toolbox item for '<Toolbox item name>' could not be retrieved from the toolbox" error occurs when you are working in the Visual Studio IDE (302793)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition

This article was previously published under Q302793

SYMPTOMS

When you are working in the Visual Studio .NET or Visual Studio 2005 integrated development environment (IDE), the following error occurs:
The toolbox item for '<Toolbox item name>' could not be retrieved from the toolbox. Try removing the item from the toolbox and adding it back.
The error may occur while you are performing one of the following actions:
  • Adding a Web form control to an ASPX page
  • Adding a Windows form control to a Windows form
  • Adding anything through the use of the Data tab

CAUSE

The error is the result of a change made in the Toolbox format in the released version of Visual Studio .NET Beta 2 from earlier builds of Visual Studio .NET.

RESOLUTION

Follow the steps below to reset the Toolbox:
  1. Right-click the Toolbox and then click Customize Toolbox from the context menu.
  2. In the Customize Toolbox dialog box, click Reset.
  3. Click yes to allow resetting of the Toolbox, and then click OK to close the dialog box.
Note In Visual Studio 2005, right-click Toolbox, and then click Reset Toolbox.

REFERENCES

For more information about this error message for Windows Forms in Visual Studio 2005, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:1/20/2006
Keywords:kbvs2005applies kbvs2005swept kbtshoot kbCtrl kbIDEProject kbprb KB302793 kbAudDeveloper