Problem with RadScriptManager After Upgrade

2 posts, 0 answers
  1. Tim
    Tim avatar
    3 posts
    Member since:
    Feb 2009

    Posted 14 Oct 2009 Link to this post

    Good afternoon,

    I am now using RadControls for ASP.NET AJAX 2009 2 701. I upgraded from ASP.NET AJAX 2009 1 527. After I upgraded I made some changes to a web site that I had working. Now the web page will build but when I try and run it I get the following error:

    Warning 1 ASP.NET runtime error: The base class includes the field 'RadScriptManager2', but its type (Telerik.Web.UI.RadScriptManager) is not compatible with the type of control (Telerik.Web.UI.RadScriptManager). 

    I tried to rename it but that didn't work. I am not sure what to do. Can anyone help?

    My Web Config looks like the following:

    <

     

    httpHandlers>

     

     

    <

     

    remove verb="*" path="*.asmx"/>

     

     

    <

     

    add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     

     

    <a

     

    dd verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     

     

    <

     

    add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

     

     

    <

     

    add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>

     

     

    <

     

    add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>  

     

     

    </

     

    httpHandlers>

     

     

     

     

     

    <handlers>

     

     

    <

     

    remove name="WebServiceHandlerFactory-Integrated"/>

     

     

    <

     

    remove name="ScriptHandlerFactory"/>

     

     

    <

     

    remove name="ScriptHandlerFactoryAppServices"/>

     

     

    <

     

    remove name="ScriptResource"/>

     

     

    <

     

    add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     

     

    <

     

    add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     

     

    <

     

    add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     

     

    <

     

    add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>

     

     

    <

     

    add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>

     

     

    </

     

    handlers>

     

     

     

     

     

     

     

    I would appreciate any help that is given.

  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 15 Oct 2009 Link to this post

    Hi Tim,

    Please make sure you are using the right .NET build of the Telerik.Web.UI.dll assembly (.NET 2.0 or 3.5 depending on your target framework). The .net version is the last number of the assembly version:
    2009.2.826.20
    2009.2 826.35

    You can use the 2.0 build from the bin folder of your RadControls installation and the 3.5 build from the bin35 folder.

    Regards,
    Albert,
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top