Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using Ajax 4.0. The project works fine on my developer machine, but once on the Godaddy sever, it gives me this error.

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

VB
[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() +61
   AjaxControlToolkit.ToolkitScriptManagerConfig..cctor() in ToolkitScriptManagerConfig.cs:32

[TypeInitializationException: The type initializer for 'AjaxControlToolkit.ToolkitScriptManagerConfig' threw an exception.]
   AjaxControlToolkit.ToolkitScriptManager..ctor() in ToolkitScriptManager.cs:114
   ASP.default_aspx.__BuildControlToolkitScriptManager1() in g:\PleskVhosts\ufigeorgie.org\test.ufigeorgie.org\Default.aspx:14
   ASP.default_aspx.__BuildControlBodyContent(Control __ctrl) in g:\PleskVhosts\ufigeorgie.org\test.ufigeorgie.org\Default.aspx:13
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +10
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +88
   ASP.site_master.__BuildControlMainContent() in g:\PleskVhosts\ufigeorgie.org\test.ufigeorgie.org\Site.Master:49
   ASP.site_master.__BuildControl__control6() in g:\PleskVhosts\ufigeorgie.org\test.ufigeorgie.org\Site.Master:28
   ASP.site_master.__BuildControlTree(site_master __ctrl) in g:\PleskVhosts\ufigeorgie.org\test.ufigeorgie.org\Site.Master:1
   ASP.site_master.FrameworkInitialize() in App_Web_3itlduvq.0.cs:0
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +32
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +655
   System.Web.UI.Page.get_Master() +54
   System.Web.UI.Page.ApplyMasterPage() +14
   System.Web.UI.Page.PerformPreInit() +45
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335
Posted
Comments
ZurdoDev 4-Apr-14 13:23pm    
Make sure it is in your bin folder. You may also need to contact godaddy about it.
Gus'O. 4-Apr-14 19:42pm    
Tanx...RyanDev.
I did copy all the folders and files from the Ajax folders to the bin.

1 solution

Hi, i was facing the same issue just than i realized that i need to re-built the application and that copy the bin bolder again. Hence it started working. Please try one, this might solve your problem.
 
Share this answer
 
Comments
Gus'O. 11-Apr-14 10:46am    
Thank you Er. Puneet Goel.
When I first add the Ajax tool tab, and upload the Toolkit controls to the new tab, the Ajax DLL files are automatically copied into the bin. I have made a Clean, and Re-build run, but no luck. I called GODADDY.COM and they pointed me to search the answer on google(LOL)..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900