无法加载文件或程序集“AjaxControlToolkit中”或它的某一个依赖。该系统找不到指定的文件 [英] Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified
问题描述
我在SharePoint 2010的工作,我创建了一个简单的可视化Web部件包含一个文本框,我已经加入calendarextender它。我已经加入 ajaxcontroltoolkit.dll
作为参考。但是,当我部署到SharePoint网站,然后它给了我下面的错误。
I am working on sharepoint 2010. I have created a simple visual web part which contain one text box and I have added calendarextender to it. I have added ajaxcontroltoolkit.dll
as reference. But when I deploy to sharepoint site then it gives me following error.
分析器错误消息:
无法加载文件或程序集AjaxControlToolkit中或它的某一个依赖。该系统找不到指定的文件。
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
源错误:
3号线:其中,%@注册议会=AjaxControlToolkit中>命名空间=AjaxControlToolkit中标签preFIX =CC1%>
Line 3: <%@ Register Assembly="AjaxControlToolkit"> Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
源文件:
/ _ CONTROLTEMPLATES / VWP_Ajax / VisualWebPart1 / VisualWebPart1UserControl.ascx线:9
/_CONTROLTEMPLATES/VWP_Ajax/VisualWebPart1/VisualWebPart1UserControl.ascx Line: 9
任何想法的地方,我要去哪里呢?
Any ideas where Im going wrong?
推荐答案
是AjaxControlToolkit.dll在部署现场后的bin目录?
Is the AjaxControlToolkit.dll in the bin directory after you deploy the site?
组件(AjaxControlToolkit.dll)需要被部署到全局程序集缓存(GAC)或将在SharePoint网站的文件夹\ bin文件夹。
The assembly (AjaxControlToolkit.dll) needs to be deployed to the Global Assembly Cache (GAC) or put in the \BIN folder of the SharePoint site's folder.
这篇关于无法加载文件或程序集“AjaxControlToolkit中”或它的某一个依赖。该系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!