I'm probably missing something simple, I miss those the best. :)
How do I upgrade to the latest version of the telerik controls without having to rebuild every module (I'm making modules for DNN) that uses telerik controls?
I assume there is some setting in Visual Studio 2008 that I am missing.
I have the "Specific Version" set to false for the Telerik.Web.UI reference, which is the only telerik DLL I reference. I had the set for the 515 version and the previous as well, but everything is broken when I upload all the files to upgrade.
Any suggestions would be great. I can't seem to find anything else on it. I could be missing something super simple and overly obvious, so if there are a couple things that need to be done, I'll probably need it pretty explicit. hehe
How do I upgrade to the latest version of the telerik controls without having to rebuild every module (I'm making modules for DNN) that uses telerik controls?
I assume there is some setting in Visual Studio 2008 that I am missing.
I have the "Specific Version" set to false for the Telerik.Web.UI reference, which is the only telerik DLL I reference. I had the set for the 515 version and the previous as well, but everything is broken when I upload all the files to upgrade.
Any suggestions would be great. I can't seem to find anything else on it. I could be missing something super simple and overly obvious, so if there are a couple things that need to be done, I'll probably need it pretty explicit. hehe
8 Answers, 1 is accepted
0
Hi Baatezu,
Actually our controls use strong names for their assemblies (DLL files). This means that your project will be built against a specific Telerik build. If you want to update the Telerik assemblies without recompiling your project, you need to update the web application's Web.config file and add the appropriate <bindingRedirect> element in order to redirect calls for the old assembly version to the new one.
Greetings,
Daniel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Actually our controls use strong names for their assemblies (DLL files). This means that your project will be built against a specific Telerik build. If you want to update the Telerik assemblies without recompiling your project, you need to update the web application's Web.config file and add the appropriate <bindingRedirect> element in order to redirect calls for the old assembly version to the new one.
Greetings,
Daniel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Baatezu
Top achievements
Rank 2
answered on 24 Jul 2008, 06:17 PM
With the Q2 release, I've tried the described method, but it doesn't seem to be working for me. :(
This is the relevant section of the web.config
Is there something I'm missing in this section, or anything else I need to do/add/ect?
This is the relevant section of the web.config
<runtime> |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
<probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" /> |
<dependentAssembly> |
<assemblyIdentity name="Telerik.Web.UI"/> |
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2008.2.723.20"/> |
</dependentAssembly> |
</assemblyBinding> |
</runtime> |
Is there something I'm missing in this section, or anything else I need to do/add/ect?
0
Hi Baatezu,
Could you please try to set PublicKeyToken to assemblyIdentity and give us feedback on the result?
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Could you please try to set PublicKeyToken to assemblyIdentity and give us feedback on the result?
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Baatezu
Top achievements
Rank 2
answered on 29 Jul 2008, 12:32 AM
<runtime> |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
<probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" /> |
<dependentAssembly> |
<assemblyIdentity name="Telerik.Web.UI" Culture="neutral" PublicKeyToken="121fae78165ba3d" /> |
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2008.2.723.20"/> |
</dependentAssembly> |
</assemblyBinding> |
</runtime> |
Does what I have in my web.config look correct?
0
Hi Baatezu,
Please note that web.config file is case-sensitive (as every XML file). Thus try to change Culture to culture and PublicKeyToken to publicKeyToken.
Let me know whether these directions are helpful.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Please note that web.config file is case-sensitive (as every XML file). Thus try to change Culture to culture and PublicKeyToken to publicKeyToken.
Let me know whether these directions are helpful.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Baatezu
Top achievements
Rank 2
answered on 29 Jul 2008, 05:27 PM
<runtime> |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
<probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" /> |
<dependentAssembly> |
<assemblyIdentity name="Telerik.Web.UI" culture="neutral" publicKeyToken="121fae78165ba3d" /> |
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2008.2.723.20"/> |
</dependentAssembly> |
</assemblyBinding> |
</runtime> |
and it still tells me
Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies
I hate to bring it up so late in the game - but recently I found another setting I had to add elsewhere in my web.config to accommodate IIS 7, specifically, which I have, running on Vista Ultimate.
Is there some different trick to get it to rebind in IIS 7?
0
Hi Baatezu,
Excuse me if I am wrong, but could you please compare the publicKeyToken string in the error message and the one in the webconfig.
<assemblyIdentity name="Telerik.Web.UI" culture="neutral" publicKeyToken="121fae78165ba3d" />
Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies
I tested this again and I confirm that it is working properly.
Kind regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Excuse me if I am wrong, but could you please compare the publicKeyToken string in the error message and the one in the webconfig.
<assemblyIdentity name="Telerik.Web.UI" culture="neutral" publicKeyToken="121fae78165ba3d" />
Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies
I tested this again and I confirm that it is working properly.
Kind regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Baatezu
Top achievements
Rank 2
answered on 01 Aug 2008, 12:53 AM
*hangs head* I'm not sure if it's ME stupid, or IIS stupid... It works now.
I had to place the <runtime> tag at the VERY END of the file, the last entry before the </configuration> tag. One of those little things. Other than that, it seems to be functioning now.
Thanks for the help.
I had to place the <runtime> tag at the VERY END of the file, the last entry before the </configuration> tag. One of those little things. Other than that, it seems to be functioning now.
Thanks for the help.
Param
commented on 29 Nov 2021, 08:56 AM
Top achievements
Rank 1
This seemed to work @Baatezu. Thanks!