Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I run my project it give the following error

<pre>Error 10 The type 'System.Web.UI.UpdatePanel' 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' F:\udhay\Mathi_Downloaded_2008\ViewItem.aspx 9

Please help me what can i do
Posted
Updated 7-Aug-12 3:09am
v3

1 solution

Looks like you have two versions of System.Web.Extension.dll in your GAC. Either remove one that is not needed or explicitly define the dll reference in your web.config file.
 
Share this answer
 
Comments
devausha 7-Aug-12 23:43pm    
How can I remove it. Which is I have to remove from web config file
devausha 7-Aug-12 23:46pm    
How to delete the dll file in Gac
Sandeep Mewara 8-Aug-12 3:19am    
Here: http://msdn.microsoft.com/en-us/library/aa559881%28v=bts.20%29.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900