title: Getting Error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information
body: <p>I am getting this error when i upload my website on server.Even though when I run it on local server in visual studio it works fine.Please help me to solve this issue.I am using visual studio 2012 with sql server 2008 .Also there is a packages folder outside project folder, may be I need to upload dat too..Please help</p>
  
  <p><strong>The error</strong> I am getting :</p>
  
  <pre><code>Server Error in '/' Application.
  
  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 96:          
      Line 97: 
      Line 98:         &lt;asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt;&lt;/asp:ToolkitScriptManager&gt;
      Line 99:      
      Line 100:&lt;header&gt;
  
      Source File: g:\pleskvhosts\hitchtechnologies.com\manshasweets.hitchtechnologies.com\MasterPage.master    Line: 98 
  
      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() +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.masterpage_master.__BuildControlToolkitScriptManager1() in g:\pleskvhosts\hitchtechnologies.com\manshasweets.hitchtechnologies.com\MasterPage.master:98
         ASP.masterpage_master.__BuildControlform1() in g:\pleskvhosts\hitchtechnologies.com\manshasweets.hitchtechnologies.com\MasterPage.master:93
         ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in g:\pleskvhosts\hitchtechnologies.com\manshasweets.hitchtechnologies.com\MasterPage.master:1
         ASP.masterpage_master.FrameworkInitialize() in g:\pleskvhosts\hitchtechnologies.com\manshasweets.hitchtechnologies.com\MasterPage.master.cs:912308
         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
  
  Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18056
  </code></pre>
  
  <p>this is my web.config.please help me if i have done ne thing wrong:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=169433
    --&gt;
  &lt;configuration&gt;
    &lt;connectionStrings&gt;
      &lt;add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/&gt;
    &lt;/connectionStrings&gt;
    &lt;appSettings&gt;
  
      &lt;add key="connectionString" value="Data Source=Node-6-PC;Initial Catalog=dbMansha;user id=sa; password=hitch@123;"/&gt;
  
      &lt;add key="SiteFileFolder" value=""/&gt;
    &lt;/appSettings&gt;
    &lt;system.web&gt;
      &lt;sessionState cookieless="false" regenerateExpiredSessionId="true" timeout="129600" /&gt;
      &lt;globalization culture="en-GB"/&gt;
      &lt;compilation debug="true" targetFramework="4.5"&gt;
  
      &lt;/compilation&gt;
      &lt;httpRuntime maxRequestLength="12000" useFullyQualifiedRedirectUrl="true" executionTimeout="45"/&gt;
      &lt;authentication mode="Forms"&gt;
  
        &lt;forms timeout="129600"/&gt;
      &lt;/authentication&gt;
      &lt;membership&gt;
        &lt;providers&gt;
          &lt;clear/&gt;
          &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/&gt;
        &lt;/providers&gt;
      &lt;/membership&gt;
      &lt;profile&gt;
        &lt;providers&gt;
          &lt;clear/&gt;
          &lt;add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/&gt;
        &lt;/providers&gt;
      &lt;/profile&gt;
      &lt;roleManager enabled="false"&gt;
        &lt;providers&gt;
          &lt;clear/&gt;
          &lt;add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/&gt;
          &lt;add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/&gt;
        &lt;/providers&gt;
      &lt;/roleManager&gt;
    &lt;/system.web&gt;
  
  &lt;/configuration&gt;
  </code></pre>