简体   繁体   English

Sharepoint 2010中的“自定义应用程序”页面Ajaxtoolkit错误

[英]Custom Application page Ajaxtoolkit error in Sharepoint 2010

I recently migrated MOSS 2007 site to sharepoint 2010. The MOSS 2007 site included a custom application page. 我最近将MOSS 2007站点迁移到了sharepoint2010。MOSS2007站点包括一个自定义应用程序页面。 With IP address this page is working fine. 使用IP地址,此页面可以正常工作。 I have deployed the dll in gac and placed the necessary forms in layouts folder. 我已将dll部署在gac中,并将必要的表单放置在layouts文件夹中。 But using Internat or intranet dns I am getting below error: 但是使用Internat或Intranet dns,我得到以下错误:

 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' 

If I delete the dll placed in Temporary ASp.net folder it says not able to find the dll in the temporary folder url. 如果我删除放置在Temporary ASp.net文件夹中的dll,则会显示无法在临时文件夹url中找到该dll。 N if i delete gac dll it looks for the dll in gac n throws the same error of unable to find. N如果我删除gac dll,它将在gac n中查找dll并引发无法找到的相同错误。 I have provided below ajax entry in web.config but its still showing me the same error. 我在web.config中提供了下面的ajax条目,但是它仍然向我显示相同的错误。

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

and in tag i added the assembly entry 在标签中,我添加了程序集条目

Try replacing your Ajax Control Toolkit which is compatible with .Net Framework 3.5. 尝试替换与.Net Framework 3.5兼容的Ajax Control Toolkit。

As you have migrated from MOSS 2007, your existing Ajax Control Toolkit might be compatible with .Net Framework 2.0 only. 从MOSS 2007迁移后,现有的Ajax Control Toolkit可能仅与.Net Framework 2.0兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM