error CS0433: The type 'AjaxControlToolkit.PopupControlPopupPosition' exists in

cww2010 2015-05-28 03:56:08
An error occurred during the processing of . c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\_cd\nwacollab\controls\languageswitch.ascx(110): error CS0433: The type 'AjaxControlToolkit.PopupControlPopupPosition' exists in both 'c:\Windows\assembly\GAC_MSIL\AjaxControlToolkit\1.0.11119.20010__28f01b0e84b6d53e\AjaxControlToolkit.dll' and 'c:\Windows\assembly\GAC_MSIL\AjaxControlToolkit\3.0.30512.20315__28f01b0e84b6d53e\AjaxControlToolkit.dll'

languageswitch.ascx;
<%@ Register TagPrefix="ajaxToolkit" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=1.0.11119.20010, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"%>

在ascx文件中指定了版本,在别的服务器上可以运行,迁移到别的服务器后就报这个错了。
...全文
369 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
cww2010 2015-06-03
  • 打赏
  • 举报
回复
问题解决,更新了引用ajaxcontroller的dll,应该是程序组件引用的问题。
霖雨 版主 2015-05-29
  • 打赏
  • 举报
回复
我觉得迁移出问题,一般都是依赖项有问题。。肯定少部署或者错误部署了什么东西
Justin-Liu 2015-05-29
  • 打赏
  • 举报
回复
你把3.0的那个从gac删出去看看还报错不
cww2010 2015-05-28
  • 打赏
  • 举报
回复
引用 1 楼 linyustar 的回复:
看12路径,是2007的,你迁移到其他版本SharePoint了?如果是10放到14下、15放到15下,ascx文件;
版本还是2007的,只是从一台服务器迁到另一台服务器。
霖雨 版主 2015-05-28
  • 打赏
  • 举报
回复
看12路径,是2007的,你迁移到其他版本SharePoint了?如果是10放到14下、15放到15下,ascx文件;

3,242

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 SharePoint
社区管理员
  • SharePoint社区
  • 霖雨
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧