2013-07-22 92 views
1

我最近将MOSS 2007站点迁移到SharePoint 2010.MOS 2007站点包含一个自定义应用程序页面。使用IP地址这个页面工作正常。我已经在gac中部署了dll,并将必要的表单放置在布局文件夹中。但是,使用国际行动或Intranet DNS我得到以下错误:自定义应用程序页面Sharepoint 2010中的Ajaxtoolkit错误

An error occurred during the compilation of the requested file, or one of its dependencies. The type 'AjaxControlToolkit.SliderExtender' exists in both 'c:\Windows\assembly\GAC_MSIL\AjaxControlToolkit\3.0.30930.28736__28f01b0e84b6d53e\AjaxControlToolkit.dll' and 'c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\e2b85a3a\aefa6379\assembly\dl3\6cf6a9f3\d0ee2c06_53facd01\AjaxControlToolkit.DLL' 

如果我删除放在临时文件夹ASp.net的DLL它说无法找到临时文件夹中的网址的dll。 N如果我删除gac dll它会在gac中查找dll n会抛出无法找到的相同错误。 我在web.config中的ajax条目下面提供了它,但它仍然给我显示了同样的错误。

<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" tagPrefix="ajaxToolkit"/> 
     </controls> 

和标签我增加了装配入门

回答

0

尝试更换您的Ajax控件工具包是与.NET Framework 3.5的兼容。

当您从MOSS 2007迁移时,现有的Ajax Control Toolkit可能仅与.Net Framework 2.0兼容。

相关问题