Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

System.reflection error when using ajaxcontrol toolkit

$
0
0

I just moved my site to a shared hosting environment and when i try to run my site i am getting the following error, has anyone ever seen this or have any idea on how to fix it.

 

I copied the entire site folder to this new host and am getting this error:

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 117:    <font size="2" color="black">
Line 118:    <form id="form1" runat="server">
Line 119: <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> Line 120:        <Services>
Line 121:        <asp:ServiceReference Path="AutoComplete.asmx" />

Source File: e:\web\unionres\Default.aspx    Line: 119
Stack Trace:

[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
   System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
   System.Reflection.RuntimeModule.GetTypes() +4
   System.Reflection.Assembly.GetTypes() +78
   AjaxControlToolkit.ToolkitScriptManagerConfig..cctor() +74

[TypeInitializationException: The type initializer for 'AjaxControlToolkit.ToolkitScriptManagerConfig' threw an exception.]
   AjaxControlToolkit.ToolkitScriptManagerConfig..ctor(IAjaxControlToolkitCacheProvider cacheProvider) +0
   AjaxControlToolkit.ToolkitScriptManager..ctor() +57
   ASP.default_aspx.__BuildControlToolkitScriptManager1() in e:\web\unionres\Default.aspx:119
   ASP.default_aspx.__BuildControlform1() in e:\web\unionres\Default.aspx:118
   ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in e:\web\unionres\Default.aspx:1
   ASP.default_aspx.FrameworkInitialize() in e:\web\unionres\Default.aspx.cs:912308
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54
   System.Web.UI.Page.ProcessRequest() +78
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) in App_Web_ci05rxnp.2.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75



Viewing all articles
Browse latest Browse all 5678

Trending Articles