I just upgraded from Telerik 2009.1.527.35 to Telerik 2009.2.701.35. My visual studio shows toolbox for both versions.
More than half of my pages use the older version. So I changed the binding in web config to point to the new version. Problem was, if I added a control from the new toolbox, I got a
Error Rendering Control error in VS2008. To get around it, I installed the Telerik 2009.2.701.35 in the gac. That fixed my Error Rendering Control issue. But now I have two Telerik DLLs in the gac, albeit they are different versions.
One of my older pages has an upload control on it, and so there is the following entry in my web.config
<
add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
Everything compiles fine. I do not get any design time errors. Problem is, when I run the site from VS2008 in debug mode, I get the following error
Parser Error Message: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.
Source Error:
Line 86: <httpModules>
Line 87: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 88: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />Line 89: </httpModules>
Line 90: </system.web>
|
I noticed that if I take the newer dll out of the gac, this problem goes away but I get the "Error rendering control" error back.
Could someone tell me, what is the right solution to this issue. I am assuming the system is getting confused between the two Upload Modules, but I do not know how to force it to point to one or the other.
Can someone please shed some light?