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

Q2 Upgrade Issues and what I did to resolve

11 Answers 233 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 2
Jim asked on 11 Jul 2009, 02:47 PM

To my loving Telerik Community:

I write this post just in case there are others who get themselves into a situation as did I. 
I have been using 2009 Q1 release since purchasing the Telerik suite of controls.   The steps I took to upgrade to 2009 Q2 gave me a bit of a headache and took 2 days of productive time away. Here are the steps I took and advice what not to do.

  1. When I ran the Q2 Installer it reported back that a previous version was already installed and that I must remove prior to installation.
    • I later fould a fourm that talked about an upgrade installer.  I never did find such a download.  If you can find it, use it.  The normal installer requires the previous version to be removed, which did not fully work for me.
    • If such an upgrade installer is not available.  It is my advice to download the mannual install zip file. (Go to step 3)
  2. I removed the telerik using the normal process.  Everything was removed as expected except the Visual Studios Extentions.  When I went to install Q2, I got an error "Visual Studios Extension Installed, please remove ..
    • I am not sure why the Q1 Extension were not removed.  This is something Telerik folks may want to look at.  One possibilty is I am using Vista 64 and was not removing as Admin.  I am willing to bet that is the root cause. 
    • I had a heck of a time figuring out how to remove Visual Studios Extensions.  I am using VS 2005 and 2008 (I find that 2005 works best for ASP 2 and 2008 for ASP 3.5).  I found a post on how to remove extensions with 2010 but nothing for 2005 and 2008.
    • Advice:  make sure your Admin when you deinstall.  Not positive that will help, but it might work better.   If you know how to manually remove extensions, then that is another route you can take.  I never did figure that out.
  3. I downloaded the Manual Install zip and extracted the files to similar location as q1, Changing the folder to reflect Q2 (It is Not important where you extract).
  4. I moved the Q2 DLLs to my local wesite bin folder (Obviously Mandatory)
  5. I went back to one of my projects (A WAP DotNetNuke module) and found multiple errors for obvious reasons.
    • Looking in Visual Studios Object browser, the deinstall rightfully removed the telerik controls.  I added the custom by going to Edit Custom Component set (an option in the Object Browser).  I added a reference to the telerik dll.
    • If you did not uninstall then you will have a potential path issue, as it will be looking for the component in the Q1 path.  You will obviously change that so it finds the right dll.
  6. Interestingly my project compiled without error, but I was getting run time errors.  I then looked at the ascx file and saw an error in the Register tag.  It indicated a mismatch.  The error made it obvious that my project was still looking for the Q1 version
    • I looked at the project's References, located the Telerik.Web.UI and saw that it was, as expected still looking for the Q1 version.
  7. I removed the Q1 Telerik.Web.UI from the project's reference and then added a new reference using the Path to the new dll.
  8. Everything now compiles and I am happy.
  9. I add a control to the page.  As expected the deinstall removed them from the Toolbox.  I can still type them in mannually, but what a pain.  Fortunatly it is easy to add tools to the toolbox
    • If you did not remove the previous version and took the Manual Install approach, you probably have a path issue.
  10. I restored the tool box to default (not mandatory but all references to Q1 controls need to either change or be removed.  This seemed the easies)
  11. I right clicked the Toolbox and added a new tab in which I added the telerik controls
  12. I right clicked the newly created tab in the tool box and selected "Choose Items"   From there I pointed to the Q2 dll and all is working again

          

11 Answers, 1 is accepted

Sort by
0
Brad
Top achievements
Rank 2
answered on 13 Jul 2009, 03:23 PM
Jim,

You are EXTREMELY lucky! Since my install everything has gone to s_____.  All my sites are now showing ErrorRenderingControl boxes all over. I have carefully matched all my .dlls to the new ones and all the references point to the correct locations. All the error boxes say they are looking for the version that is installed. IT'S THERE!!!! Right where it should be and right where everything says it should be, so WHY all these errors? Here is a typical scenario; I create a page, put all the controls on the page. Work in both Design and Source mode to get ready to test. As soon as I test and return to VS, BOOM, error boxes all over the place. The page will still run but no Design mode anymore. What fun looking for properties to change things. This happens EVERY TIME! And now as I said every single site shows the same errors. I upgraded last Thursday and have spent just about every minute since trying to recover from this disaster. Clearing out temporary files, deleting and re-establishing references, completely removing Telerik installations and reinstalling. All to no avail! I've also noticed the appearance of these .aspx.designer.cs files. WHAT are they? They seem to be part of the issue as well because I'm seeing error boxes that say "can't create designer for <whatever control>". This has significantly affected my position which I could lose because I pushed for Telerik controls and every upgrade has been with similar issues but so far none has been this disasterous, and of course this is 3 days before a demo to a major client. I have ABSOLUTELY no idea how to fix several months of development work and any Telerik feedback at 24 hour cycles has done nothing to fix the issues. My personal experience is an example and may not be your experience but until I see a detailed upgrade installation procedure for this upgrade that works I would stay FAR away from this upgrade or you might be another example.

Joe B
0
Jim
Top achievements
Rank 2
answered on 13 Jul 2009, 03:48 PM
I think I can help.  I will jump directly to what I think to be the solution to your problem.

Solution:   Telerik ASP.NET AJAX comes with two dlls.  The first is Telerik.Web.UI.dll.   This is the main library.   The second one is named Telerik.Web.Design.dll.   In reading your problem statement I am 99% sure it is because the new Telerik.Web.Design.dll was not copied to your bin folder of your project.  Try coping the Q2 dll.  There is also an xml file that may be as important.  It's name is Telerik.Web.UI.xml.   Ensure the one in your bin director is also from the Q2 release.

More Detail:
The design time graphical interface for telerik controls relies on the above mention dll.  Without it, things wont work.  In addition, your will also see the errors coming from the aspx.designer.cs you mentioned.  It is important to note that these files have nothing to do with Telerik.  They are always generated.  They are used to give reference to controls on the aspx file to the coresponding code-behind aspx.cs file.   I am almost certain that your Telerik.Web.Design.dll in your bin directory is from Q1 not Q2
0
Brad
Top achievements
Rank 2
answered on 13 Jul 2009, 04:37 PM
Jim,

First, thanks for the response. Unfortunately I've already done that. EVERY instance of the Telerik dll and xml matches. They're all the same. I am baffled.....

Joe B
0
Jim
Top achievements
Rank 2
answered on 13 Jul 2009, 04:54 PM
That is frustrating...  Not sure what the issue could be.  Hopefully someone from Telerik will respond to this form.   The only other thing I can think of is the controls in your Visual Studios Toolbox are still referencing the old dll.  This is a separate step in the VS environment.  There are two things needed there.  Look at the Object Browser and ensure your project has the new dll and then look at the controls in your toolbox and make sure they too are looking at the new dll.   I would expect a different error.

I am now experiencing a problem with the new Rad Scheduler.   I am getting an erro "Page_Validators is undefined.   The code worked perfectly under Q1 and now it does not.    I created a seperate post, http://www.telerik.com/community/forums/aspnet-ajax/scheduler/potential-bug-with-q2-scheduler-page-validators-is-undefined.aspx, hoping for an answer.   I think I will also open a bug report.
0
Brad
Top achievements
Rank 2
answered on 13 Jul 2009, 05:06 PM
Jim,

I've had issues in the past, usually having to do with clearing out temporary files, and this process seemed to work. But this is something different and I'm willing to bet that it will come down to yet another temporary cache that VS has buried in an obscure location. I understand that VS is a powerful IDE but it seems to be fraught with issues. Oh well....
Again, thanks for the responses. I feel a little less detached now.

Joe B

ps Let me know how the scheduler goes. I have a project on the horizon (if I keep my job) that I'll need it for.

jb
0
Jim
Top achievements
Rank 2
answered on 14 Jul 2009, 01:20 PM
The issue with the Rad Schedule is most like my own and not Teleriks.   Once I trace the problem to it's root, I will update the seperate thread mentioned in my previous post.
0
Ivo
Telerik team
answered on 14 Jul 2009, 02:50 PM
Hello Joe,

I see from your support thread that the issues are now resolved.
Let us know if you have any further questions or problems.

Greetings,
Ivo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jim
Top achievements
Rank 2
answered on 14 Jul 2009, 03:16 PM
Hello,

My issues are basically resolved, but Joe mentioned another issue that I believe remains open
0
Marcos Roque Villa
Top achievements
Rank 2
answered on 31 Aug 2009, 04:37 PM
Bonjour,
Hi,

Joe, did you solved the problem with your older projects after the version Q2? Because I've the same problem and I dont know what I need to do!
I tried reinstall as like you, I did the same things.

See the image error

What is wrong? please contact me.

Thanks
0
Ivo
Telerik team
answered on 02 Sep 2009, 04:09 PM
Hi Marcos,

Have you tried the suggestions described in this blog post? Please let us know if they do not help.

Best wishes,
Ivo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Marcos Roque Villa
Top achievements
Rank 2
answered on 02 Sep 2009, 06:55 PM
Hi

Yeap! The blog post WORKS 100%. "for now".


Thanks a lot to the Telerik's Team
Tags
General Discussions
Asked by
Jim
Top achievements
Rank 2
Answers by
Brad
Top achievements
Rank 2
Jim
Top achievements
Rank 2
Ivo
Telerik team
Marcos Roque Villa
Top achievements
Rank 2
Share this question
or