Script Manager exists in both GACs!

6 posts, 0 answers
  1. Roger
    Roger avatar
    39 posts
    Member since:
    Nov 2008

    Posted 06 Nov 2008 Link to this post

    Hi - just downloaded Telerik controls and now I can't get any of my websites to compile.  I am using VWD Express 2008 and getting messages like

    Error    18    The type 'System.Web.UI.ScriptManager' exists in both
    'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' and
     'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll'   
    c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\_salesraw\3f1a6d98\c087e20c\App_Web_uqevys61.0.cs    202   

    I'm really stuck - any help greatly appreciated.

    Roger



  2. Plamen Peshev
    Admin
    Plamen Peshev avatar
    885 posts

    Posted 10 Nov 2008 Link to this post

    Hello Roger,

    The error message indicates that the VWD Express 2008 system detect both 1.0 and 3.5 version of the AJAX extension framework. Actually, AJAX extension framework is the core framework (contains the base classes of AJAX system). You can review the following forum:

    http://forums.microsoft.com/MSDN/ShowPost.aspx?siteid=1&PostID=1996297



    Greetings,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Nilesh
    Nilesh avatar
    4 posts
    Member since:
    Mar 2009

    Posted 17 Mar 2009 Link to this post

    Hello,

    I am getting this error when I used Telerik RAD Combo in the project already using AJAX control toolkit.

    Can any one here provide me straight forward solution? other blogs are too confusing/

    thanks

    Nilesh Makwana
  4. Nilesh
    Nilesh avatar
    4 posts
    Member since:
    Mar 2009

    Posted 17 Mar 2009 Link to this post

    It was too simple man, I found it

    add the fol. lines in web.config before the end tag </configuration>

    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
    </dependentAssembly>
    </assemblyBinding>
    </runtime>

    it works fine

    Regards,
    Nilesh Makwana
    I-Link Infosoft


  5. Test
    Test avatar
    1 posts
    Member since:
    Apr 2013

    Posted 10 Apr 2013 Link to this post

    It does not work for me.

    can anyone help me to overcome this issue? 

    error CS0433: The type 'System.Web.UI.ScriptManager' exists in both 'c:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files\appname.web\2b4135e5\a028d4b8\assembly\dl3\84ffdd32\6596bf53_b0b0cb01\system.web.extensions.DLL' and 'c:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'

  6. shashwat
    shashwat avatar
    1 posts
    Member since:
    Nov 2018

    Posted 11 Nov 2018 Link to this post

    Right click on your solution.

    Open Property Pages.

    In References remove System.Web.extensions 3.5 version.

    Happy coding....(y)

Back to Top