Check your web.config... you may have a reference to System.Web.Extension that is either of version 3.5.0.0 or 1.0.612. That could explain this problem
Jeev
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
Putcho
Member
1 Points
4 Posts
Namespace for updatepanel in "System.Web.UI" is not unique
Aug 11, 2008 01:18 PM|LINK
Hello to all,
i put a updatepanels (version 3.6.0.0) from a toolbox to a aspx side.
After Compliing a message occurs" Namespace for updatepanel in "System.Web.UI" is not unique "
Wat can I do to make this updatepanel unique.
In the toolbox Elemts-ox find I three Version of Updatepanel ( 3.6.0.0., 3.5.0.0, 1.0.612 ....)
Thank for your help.
Putcho
Jeev
All-Star
24182 Points
3719 Posts
Re: Namespace for updatepanel in "System.Web.UI" is not unique
Aug 11, 2008 01:23 PM|LINK
Check your web.config... you may have a reference to System.Web.Extension that is either of version 3.5.0.0 or 1.0.612. That could explain this problem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
Putcho
Member
1 Points
4 Posts
Re: Namespace for updatepanel in "System.Web.UI" is not unique
Aug 12, 2008 08:45 AM|LINK
Jeev, thanks for Your Answer.
I think that is the Problem.
I have two Versions of System.Web.Extensions. But how can I Solve this Problem?
Thanks
Putcho
Parts of web.config ...
**********************************************************************************************************************************************************
<assemblies>
<add assembly="System.Web.Extensions, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<namespaces>
<add namespace="System.Web.UI"/>
<add namespace="System.Web.UI.WebControls"/> <controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
**********************************************************************************************************************************************************
Jeev
All-Star
24182 Points
3719 Posts
Re: Namespace for updatepanel in "System.Web.UI" is not unique
Aug 12, 2008 11:35 AM|LINK
just remove the version of System.Web.Extensions that you do not need. since you are using 3.6.0.0 remove the 3.5.0.0 version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
Putcho
Member
1 Points
4 Posts
Re: Namespace for updatepanel in "System.Web.UI" is not unique
Aug 12, 2008 12:04 PM|LINK
Thanks Jeev that is it!!
But i can only remove the Version 3.6.0.0.
If i remove the Version 3.5.0.0. i become other compiling errors.
Putcho :-)
tieuphi2006
Member
9 Points
3 Posts
Re: Namespace for updatepanel in "System.Web.UI" is not unique
Feb 18, 2009 07:59 AM|LINK
it's me too, i can't load System.Web.UI
s.o hepl me know , thanks u lots
hic hic
he he
Putcho
Member
1 Points
4 Posts
Re: Namespace for updatepanel in "System.Web.UI" is not unique
Feb 18, 2009 12:41 PM|LINK
In my case this solve the Problem:
I have edit the web.config and remove one Version, but at first i have delete all Elemts from this Version in the Solution...
Putcho