I ran the upgrade wizard and it reported an error in updating the toolbar.
Here is the message:
Upgrade Item: Upgrade Toolbox: Assembly has to be uninstalled before it can be installed
Details: Toolbox upgrade failed
Result: Error
What do I do to correct the error?
Mithun
11 Answers, 1 is accepted
Though we got this error while experimenting with the ToolBox, we didn't experience it with the Upgrade Wizard. Having that said, I can't suggest a direct approach on fixing the problem.
Can you, please try the following (I suppose you use Visual Studio 2008):
- Close all Visual Studio instances
- Start a Windows Explorer
- Navigate to %localappdata%\Microsoft\VisualStudio\9.0
- Delete the tbd files located there
- Start Visual Studio and launch the Upgrade Wizard again
Let me know if that helps. Looking forward to your reply,
Erjan Gavalji
the Telerik team

I did the following like you recommended:
- Closed all Visual Studio instances
- Start a Windows Explorer
- Navigate to %localappdata%\Microsoft\VisualStudio\9.0
- Delete the tbd files located there
- Start Visual Studio and launch the Upgrade Wizard again.
- It says that currently used version is v.2010.2.929.35 and gives me a option to upgrade to the lower version(v.2010.2.826.35) . I did not proceed with the upgrade.
- %localappdata%\Microsoft\VisualStudio\9.0 now has 4 tbd files.
- toolbox.tbd
- toolbox_reset.tbd
- toolboxIndex.tbd
- toolboxIndex_reset.tbd
I see. Did you check the toolbox? Does it contain the correct items now?
If not, can you try the following:
1) Start the upgrade wizard and downgrade your project (select "No" when asked if to upgrade the toolbox);
2) Close Visual Studio and delete the tbd files;
2) Load the project and start the upgrade wizard again. This time upgrade the project and select "yes" when asked to upgrade the toolbox.
FYI, we are working on providing a better ToolBoxItem related experience in the VisualStudioExtensions. We are doing our best to deliver this for Q3 2010.
Kind regards,
Erjan Gavalji
the Telerik team

Attached is the screen capture.
Okay, so the problem was really in the TBD files. As per the upgrade wizard that failed - we don't do a real transaction there and the ToolBox update is the last step in the upgrade process.
The upgrade of the project had actually succeeded and failed at the toolbox update step, so everything should be okay now.
Let me know if I'm missing something.
Erjan Gavalji
the Telerik team

I have just upgraded to 2010_3_1215 and received the very same error as Mithun did:
UpgradeToolbox: Assembly has to be uninstalled before it can be installed
I also use: VS2008 on Win7 64bit.
Since this post is from few months ago, I would like to get updated instruction to deal with this.
Thanks,
Niv.
To my regret we were still unable to reproduce the error locally.
Can you try deleting the tbd files?
By the way, can you check which RadControls versions you have installed? Do you have parallel installations, or do you have the latest version only installed?
Kind regards,
Erjan Gavalji
the Telerik team

Niv.
I'm afraid I couldn't get you...
You could uninstall the old RadControls from your machine, download the latest RadControls installer and run it on your machine.
Once this done, you start Visual Studio, load your project and then use the Telerik -> RadControls for ASP.NET AJAX -> Upgrade Wizard menu entry to launch the Upgrade Wizard, which will help update the assembly references and the web.config of your project.
I hope this helps.
Kind regards,
Erjan Gavalji
the Telerik team

Why do I have to have an open project, in order to upgrade my Telerik version?
With no project open, the Telerik menu exists but no upgrade option is available.
So I opened a project, but there is no Uninstall option. So I uninstalled the Telerik from the Control Panel.
Then I didn't have the Telerik menu, and I had to install everything from scratch, all over again.
After that the Telerik Toolbox was not installed, and I had to installed it manually (see attached screenshot).
Now it seems that everything works well,
but I hope it will be easier next time.
Thanks,
Niv.
Actually there are two types of upgrades, hence the confusion:
- Distribution upgrade: this one gets performed by the installer. It consists of running the installer and includes upgrading the Telerik assemblies on the system, the documentation, the live examples, the Visual Studio Extensions, etc.
- Project upgrade: this one upgrades a specific project only. There are customers who need to have multiple projects on their systems, each using a different version of the RadControls. That's why the project wide upgrade is triggered manually.
I hope this helps.
Kind regards,
Erjan Gavalji
the Telerik team