无法加载文件或程序集“AjaxControlToolkit"或其依赖项之一.该系统找不到指定的文件 [英] Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified

查看:25
本文介绍了无法加载文件或程序集“AjaxControlToolkit"或其依赖项之一.该系统找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究 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 行:<%@ Register Assembly="AjaxControlToolkit"> Namespace="AjaxControlToolkit" TagPrefix="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

知道我哪里出错了吗?

推荐答案

你部署站点后bin目录下有没有AjaxControlToolkit.dll?

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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆