Try our conversational search powered by Generative AI!

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

Vote:
 

Hi,

I get the below error when i try to go to Episerver cms edit mode in episerver cms 6 r2.

EPiServer.Global.Global_Error - 1.2.5 Unhandled exception in ASP.NET
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at EPiServer.Data.Dynamic.TypeResolver.ResolveType(Object sender, ResolveEventArgs args)
at System.AppDomain.OnTypeResolveEvent(RuntimeAssembly assembly, String typeName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName)
at ElencySolutions.MultipleProperty.MultiplePropertyControl`2.PersistLinkCollectionState(HtmlTextWriter writer)
at ElencySolutions.MultipleProperty.MultiplePropertyControl`2.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.episerver_cms_edit_editpanel_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\3eab90cc\e4aa1bb\App_Web_bdg0d5y4.4.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Any help is greatly appreciated.

#140825
Oct 30, 2015 17:47
Vote:
 

Hi,

First you could try to remove temporary files from: 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\' and run iisreset.

If this won't help than maybe you could try to use Fuslogvw.exe to chceck which library was not loaded.

#140832
Oct 30, 2015 22:13
Vote:
 

Hi,

Have you deleted a property inheriting from ElencySolutions.MultipleProperty.MultiplePropertyBase from a page type through code that contains data, and because of that is not automatically deleted from the database by PageTypeBuilder? To me it seems like a type is deleted from the code but still has a reference in the database. If that's the case, go into admin mode, edit the page type and remove the property manually.

#140869
Nov 02, 2015 14:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.