我使用AJAX控件工具包壓延機擴展和我得到以下異常:
調用堆棧的位置:
AjaxConrolTollkit.DLL AjaxControlToolkit.ExtenderControlBase.Dispose()
* 源文件信息AJAX控件工具包例外
Locating 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'.
幫助我在這種情況下。在此先感謝
您需要在您的'Web.config'文件或'aspx'頁面的頂部註冊您的Ajax Control Toolkit。 – adaam
像adaam說的那樣,在aspx頁面這樣註冊。 <%@ Register Assembly =「AjaxControlToolkit」Namespace =「AjaxControlToolkit」TagPrefix =「ajax」%> – MahaSwetha
我註冊了它: <%@ Namespace =「AjaxControlToolkit」Assembly =「AjaxControlToolkit」%> –