'/'应用程序中的服务器错误。 <asp:toolkitscriptmanager id =“ToolkitScriptManager1”runat =“server”> </asp:toolkitscriptmanager>

时间:2013-12-17 05:53:44

标签: c# asp.net

我将此代码添加到Web.config然后我将我的项目或我的网站上传到Godaddy Server,它显示了我的错误。 有人可以帮我解决问题吗? 谢谢你们!

![Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information][1]

应用程序中的服务器错误。

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.



Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Source Error: 


Line 74:                         </td>
Line 75:                         <td style="text-align: right">
Line 76:                             **<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">**
Line 77:                             </asp:ToolkitScriptManager>
Line 78:                             <asp:Label ID="Label25" runat="server" Font-Bold="True" Font-Size="X-Small" Text=" DD/MM/YYYY"></asp:Label>

Source File: d:\hosting\11645199\html\newstudents.aspx    Line: 76 

Stack Trace: 

2 个答案:

答案 0 :(得分:1)

尝试更改Ajax工具包版本。请确保它是最新的。

答案 1 :(得分:0)

你添加了这段代码吗?

  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>