This is a migrated thread and some comments may be shown as answers.

type exists in 2 copies of system.web.extensions

1 Answer 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hchattaway
Top achievements
Rank 1
hchattaway asked on 16 Jul 2008, 05:15 PM
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

1 Answer, 1 is accepted

Sort by
0
hchattaway
Top achievements
Rank 1
answered on 16 Jul 2008, 06:24 PM
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

Tags
General Discussions
Asked by
hchattaway
Top achievements
Rank 1
Answers by
hchattaway
Top achievements
Rank 1
Share this question
or