This is a migrated thread and some comments may be shown as answers.

Upgrade Wizard: Fail to Upgrade Toolbox

11 Answers 222 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mithun
Top achievements
Rank 1
Mithun asked on 06 Oct 2010, 03:30 PM
Hi,

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

Sort by
0
Erjan Gavalji
Telerik team
answered on 07 Oct 2010, 07:23 AM
Hi Mithun,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mithun
Top achievements
Rank 1
answered on 07 Oct 2010, 03:46 PM
I am using VS 2008 on window 7 (64 bit)
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.
Without proceeding with the wizard 
  • 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.
  1. toolbox.tbd
  2. toolbox_reset.tbd
  3. toolboxIndex.tbd
  4. toolboxIndex_reset.tbd
Mithun

0
Erjan Gavalji
Telerik team
answered on 07 Oct 2010, 04:12 PM
Hi Mithun,

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

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mithun
Top achievements
Rank 1
answered on 07 Oct 2010, 04:48 PM
I checked the toolbox and it looks like it is correct.
Attached is the screen capture.
0
Erjan Gavalji
Telerik team
answered on 07 Oct 2010, 04:53 PM
Hi Mithun,

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.

Kind regards,
Erjan Gavalji
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
niv kfir
Top achievements
Rank 1
answered on 23 Dec 2010, 11:19 AM
Hello,

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.


0
Erjan Gavalji
Telerik team
answered on 23 Dec 2010, 01:21 PM
Hi 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
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
niv kfir
Top achievements
Rank 1
answered on 23 Dec 2010, 02:29 PM
How do I start Telerik upgrade manually?

Niv.
0
Erjan Gavalji
Telerik team
answered on 24 Dec 2010, 07:36 AM
Hi 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
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
niv kfir
Top achievements
Rank 1
answered on 25 Dec 2010, 11:01 AM
I must say it was quite a complicated mission.
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.

0
Erjan Gavalji
Telerik team
answered on 27 Dec 2010, 08:39 AM
Hi 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
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Mithun
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Mithun
Top achievements
Rank 1
niv kfir
Top achievements
Rank 1
Share this question
or