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

[Solved] Why doesn't install/upgrades work

9 Answers 227 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clifford Lane
Top achievements
Rank 1
Clifford Lane asked on 09 Mar 2010, 12:43 AM
I have wasted over three days trying to get the controls installed and running like they should after an update..

After running into the assembly not found message I started reading all the blogs on this problem - and there are many.  I have tried almost everything listed except loading into the GAC which I can not seem to do by copying the dll and I do not have gacutil.

I did a complete uninstall, a restart and a complete install that said it completed successfully.  Yet I still get this message on old and even a new screen.

This problem has eaten up tons of time on the part of Telerik users and needs to be fixed by Telerik so that when you do an install or upgrade EVERYTHING that needs to happen to get the controls running happens.  Up until this point I was a solid proponent of Telerik but after this, my first attempt to update to a new release, I have some reservations about the commitment on Telerik's part.

Can Telerik say why things that should happen with an install or upgrade are not taking place and what actions they are going to take to address this issue?

Cliff Lane

9 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 09 Mar 2010, 06:57 AM
Hi Clifford,

I'm sorry for the troubles you've encountered. I'm afraid I could not get the problem well. Is it that you installed RadControls for ASP.NET AJAX and you got the "Assembly Not Found" error after you started your project and tried debugging it?
If that is the case, you should update the referenced to the RadControls assembly (Telerik.Web.UI) in your project, as the project points to the old installation. The easiest way to do that is use the Telerik > RadControls for ASP.NET > Upgrade Wizard menu item in the Visual Studio IDE.

Let me know if I am missing something. I'll do my best to help having the problem asap.

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
Clifford Lane
Top achievements
Rank 1
answered on 09 Mar 2010, 01:34 PM
When I go to telerik> RadControls for ASP.NET Ajax
I get the following options
Add Radcontrols template....
Add RadGrid control template...
Add Radeditor template...
Add RadScheduler Template ...
More templates


There is no upgrade wizard option in the dropdown menu.
0
Erjan Gavalji
Telerik team
answered on 09 Mar 2010, 01:51 PM
Hi Clifford Lane,

Lacking the Upgrade Wizard is most probably caused by broken references to the Telerik.Web.UI assembly. Can you please follow the steps below:
  1. Remove the references to the Telerik.Web.UI assembly from your project (Visual Studio -> Solution Explorer -> the References node under your project);
  2. Click Telerik -> Convert to Telerik Web Application (Web Site) to get the Project Conversion wizard;
  3. Using the dropdown, select the RadControls version you'd like to have a reference to;
  4. Click Finish.

The references should be updated correctly now.

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
Clifford Lane
Top achievements
Rank 1
answered on 09 Mar 2010, 08:40 PM
That did not do anything.

Somethings i noticed that may help.  I noticed on my toolbox I have both RadControls for ASP.NET Ajax Q3 2009 net20 and Q3 2009 net35.

If I select a net20 control and place it on one of the screens that is displaying the "could not load file or assembly" I get a message that "bin/Telerik.Web.UI.dll already exists,  Do you want ti cehck this file out and repalce it."  I did not go further.

If I select from the net35 toolbox I get the cant load assembly message.

Does this help in isolating the cause of these issues?

Cliff

0
TonyG
Top achievements
Rank 1
answered on 10 Mar 2010, 03:06 AM
PMJI - I have to say that with each release I'm confused about what to expect in my VS2008 toolbox.  Will the toolbox agree with any given project I create, or any project I've already written?  I tried to create a separate group in the toolbox for each RadControls release that I'm using but that doesn't work well.  When an upgrade is available, I would appreciate it if Telerik could tell us exactly how to manage usage of that release in an environment with other releases.  Thanks.
0
Erjan Gavalji
Telerik team
answered on 10 Mar 2010, 03:38 PM
Hi Clifford,

Yes, thanks for the details! As far as I could understand, you keep the Telerik.Web.UI assembly in the BIN folder in a source control system.

When using a WebSite (in contrast to a Web Application project), you should ensure that the version of the Telerik.Web.UI assembly located in the bin folder matches the assembly registration in the project (the Web.config file or the pages/user controls). Please, check the TargetFramework of the website. If it is .NET 2.0, use the RadControls for ASP.NET AJAX Q3 2009 NET20 toolbox items. If it is .NET 3.0, use the RadControls for ASP.NET AJAX Q3 2009 NET 35 toolbox items. Please, click "yes" when asked if you would like to check out and replace the assembly - this is a normal Visual Studio question when updating the assembly reference. Please note, Visual Studio 2008 could display TypeCast errors in design time after the assembly has been replaced. To fix this, please, close the Visual Studio IDE and start the project again. You should not get this error again if you use the same ToolBoxItem group.

If you feel that could help, please don't hesitate to zip your project and send it to us via a formal support ticket. I'll do my best to have it fixed immediately.

@Tony G:
Let me explain: Parallel major releases of RadControls can exist on a machine, e.g. Q2 2009, Q3 2009 SP2, Q1 2010, etc. Having this in mind, the installer registers the Telerik.Web.UI assembly of each release to the toolbox into its own group. When a project uses a specific assembly version, all you need is always drag a RadControl from that assembly's group.
If you change the TargetFramework property of a project, you should change the reference to the Telerik.Web.UI assembly as well (the easiest way to do that is drag a RadControl from the respective .NET Framerwork group). Please note, Visual Studio 2008 might display TypeCast errors in design time after the assembly has been replaced. To fix this, please, close the Visual Studio IDE and start the project again. You should not get this error again if you use the same ToolBoxItem group.

FYI, the TargetFramework filtering is much more improved in Visual Studio 2010 - if the project targets .NET Framework 2.0, you will only have the .NET 2.0 assemblies, when TargetFramework is 3.5, the toolbox will only display the .NET 35 controls, etc. This is valid unless you've modified the toolbox manually.

Let me know if I can help further.

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
Clifford Lane
Top achievements
Rank 1
answered on 10 Mar 2010, 08:03 PM
That seems to have worked.  The framework was set to 3.5 but I clicked APPLY and after that everything feel into place.

No I see that a new version is available of the RadControls are available but I am going to get done what I have missed for the last three days.

Could you explain how to sove the same problem if it arose using VS 2005?
0
TonyG
Top achievements
Rank 1
answered on 11 Mar 2010, 02:30 AM
For Erjan - I installed the v2010 Q1 Beta and it created a separate toolbox group.  Today I installed the 2010 Q1 Production release and it offered to remove old entries from the toolbox and to replace them with the updated version.  This whole VS integration process seems to have been improved and I sincerely thank Telerik for the effort in this area.

I won't continue to hijack this thread - sorry.  :)
0
Erjan Gavalji
Telerik team
answered on 11 Mar 2010, 10:27 AM
Hi guys,

@Clifford, Basically this problem should not happen in Visual Studio 2005, because it only supports .NET 2.0 and only the .NET 2.0 RadControls get added there. However there is a chance that you've developed a website using Visual Studio 2008, targetting framework 3.5 and opened it in Visual Studio 2005. In this case the project build would fail, as it is referencing the System.Core assembly, which is from .NET 3.5 (hence unrecognized by Visual Studio 2005).
As a side note, Visual Studio 2005 initially recognized the link between a design assembly, located in the GAC and the runtime assembly, which is why we haven't experienced the Design time error there.

@TonyG, it's okay, we always welcome constructive criticism :) Thank you for you support!

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.
Tags
General Discussions
Asked by
Clifford Lane
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Clifford Lane
Top achievements
Rank 1
TonyG
Top achievements
Rank 1
Share this question
or