本文介绍了Ajax控件工具错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我正在使用ajax控件工具包日历扩展程序,我得到以下异常:控件进入程序集。 调用堆栈位置 AjaxConrolTollkit.DLL!AjaxControlToolkit.ExtenderControlBase.Dispose() 源文件信息 定位 source for 'f:\TeamCity \ buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase \ExtenderControlBase.cs'。 校验和: MD5 { ee 1a 1d c3 d5 ca a 7d 84 6b 74 7f 51 e8 63 6b } file 'f:\TeamCity \ buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit \ExtenderBase \ExtenderControlBase.cs' 不 存在。 script documents for 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit \ ExtenderBase \ExtenderControlBase.cs'... 在中查找 项目 for 'f:\ TeamCity \ buildAgent \work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs'。 文件 not 找到 a 项目。 在 目录中查找 C:\Program Files \ Microsoft Visual Studio 10 .0\VC\crt\src\'... 正在寻找 在 目录'C:\Program Files \ Microsoft Visual Studio 10 .0\VC\atlmfc\src\mfc\'... 目录'C:\ Program Files \ Microsoft Visual Studio 10 .0\VC\atlmfc\src\atl\'... 目录中的leadattribute>查找 C:\Program Files \ Microsoft Visual Studio 10 .0\VC \ atlmfc \include \'... debug source files settings for active 解决方案 表示 调试器 将 不 询问 用户 to find file: f:\TeamCity \ buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase \ExtenderControlBase。 cs 。 调试器 可以 not locate source file 'f:\TeamCity \ buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit \ExtenderBase \ ExtenderControlBase.cs'。 请帮帮我解决方案 您使用的是哪个版本? 请检查以下步骤以确认: - 1)在项目中添加dll引用。 2)在< system.web>中的web.config文件中部分添加以下 < pages > < controls > < add tagPrefix = ajaxToolkit assembly = AjaxControlToolkit namespace = AjaxControlToolkit / > < / controls > < / pages > i am using ajax control toolkit calender extender and i am getting the following exception: Control enters into assembly.Call stack locationAjaxConrolTollkit.DLL!AjaxControlToolkit.ExtenderControlBase.Dispose()Source File InformationLocating source for 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs'. Checksum: MD5 {ee 1a 1d c3 d5 ca a 7d 84 6b 74 7f 51 e8 63 6b}The file 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs' does not exist.Looking in script documents for 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs'...Looking in the projects for 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs'.The file was not found in a project.Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\'...Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs.The debugger could not locate the source file 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs'.Please help me 解决方案 Which version you are using?please check following steps to verify:-1) Add dll reference in your project.2) In web.config file in <system.web> section add following<pages> <controls> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/> </controls> </pages> 这篇关于Ajax控件工具错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-27 20:42