type exists in 2 copies of system.web.extensions

2 posts, 0 answers
  1. hchattaway
    hchattaway avatar
    67 posts
    Member since:
    Feb 2007

    Posted 16 Jul 2008 Link to this post

    Hello all

    I've been using RadControls for asdp.net ajax with DNN and love them! However, I've just started getting this error in vs 2008 when building the solution:

    Error   10  The type 'System.Web.UI.UpdatePanelTriggerCollection' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'  c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website\33da4fb4\5b6f38ba\App_Web_wqcx3cr8.0.cs   2182     
     


    I see the 2 files it is referring to in the GAC.. in my web.config, the 1.0.61025 version is specified... why is there this confusion? Shouldn't the newer version be specified? The Web.config that comes with DNN specified the 1.0.61025 version.  How can VS be made to resolve this conflict?

    Thanks
    Harold

  2. hchattaway
    hchattaway avatar
    67 posts
    Member since:
    Feb 2007

    Posted 16 Jul 2008 Link to this post

    Fixed it.. I had 2 references to the <asp> tag in the <controls> section... each was pointing to different versions of the system.web.extensions dll    must have been a copy/paste error!

    Harold

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top