Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Could not load type 'EPiServer.Editor.Tools.ToolBase' from assembly 'EPiServer'

Vote:
 

We are updating a site from CMS 6r2 to CMS 7 that previously also was updated from CMS 5.
The upgrade process went well, and all compilation errors and warnings are fixed.

When surfing to the website we get a yellow screen of death saying:
"Unable to load one or more of the requested types. The following information may be a subset of the Type/LoaderException information present - inspect with debugger for complete view.
Check assemblies [] and/or types []. Information from LoaderExceptions property [Could not load type 'EPiServer.Editor.Tools.ToolBase' from assembly 'EPiServer, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.]."

We think that it has to do with the CMS5 editor that is no longer a part of CMS 7 and no longer supported.
Before upgrading we changed all propertyLongString to use PropertyLongStringControl instead of LegacyPropertyXhtmlStringControl in web.config. No pages are using the old editor anymore, and we are not refering to the old editor in code.

Our EPiServer log file says:
ERROR [1] EPiServer.Framework.Initialization.InitializationEngine.SetupAssemblyTypeScanner - Type lookup failed
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.Framework.TypeScanner.ReflectionAssemblyScanner.<GetTypes>d__9.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at EPiServer.Framework.TypeScanner.CachingAssemblyScanner.GetTypes(Assembly assembly)
   at EPiServer.Framework.Initialization.InitializationEngine.<>c__DisplayClassa.<SetupAssemblyTypeScanner>b__8(Assembly assembly)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass2d`2.<ForEachWorker>b__23(Int32 i)
   at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass10.<ExecuteSelfReplicating>b__f(Object param0)

Any ideas on how we can solve this problem?

#70245
Apr 16, 2013 10:38
Vote:
 

We solved the problem. It was an old third party dll in the bin folder that had a reference to EPiServer.Editor.Tools.ToolBase.

#70370
Apr 18, 2013 8:22
Vote:
 

It wasn't ImageVault was it? I have the same Issue with a site using ImageVault 3 and the ImageVault.EPiServer6 Dll is likely what is causing it :)

Unable to load one or more of the requested types. The following information may be a subset of the Type/LoaderException information present - inspect with debugger for complete view.
Check assemblies [ImageVault.EPiServer6, Version=3.5.5.0, Culture=neutral, PublicKeyToken=null] and/or types [ImageVault.EPiServer6.Scheduler.ArchiverNotificationJob,
ImageVault.EPiServer6.ScheduledJobImpl,
ImageStoreNET.Developer.WebControls.PropertyComplexMediaControl,
ImageStoreNET.Developer.WebControls.IVFileFilterEventHandler,
ImageStoreNET.Developer.WebControls.IVAlbumTreeData,
ImageStoreNET.Developer.Core.IVFileSystem,
ImageVault.EPiServer6.Mirroring.IMirroringProperty,
ImageVault.EPiServer6.Mirroring.MirroringPropertyFreeText,
ImageVault.EPiServer6.LinkToolPlugin.LinkToolTinyMcePlugin,
ImageStoreNET.Developer.Core.NamespaceDoc,
ImageStoreNET.Developer.Core.IVAlbumDataCollection,
ImageVault.EPiServer6.Mirroring.MirroringPropertyURL,
ImageStoreNET.Developer.WebControls.PropertyImageVaultFile,
ImageStoreNET.Developer.WebControls.IVAlbumTemplateContainer,
ImageStoreNET.Developer.Security.IVAccessLevel,
ImageStoreNET.Developer.Filters.IVFileSortBy,
ImageStoreNET.Admin.TestRemoteSites,
ImageStoreNET.Admin.TestClient,
ImageVault.EPiServer6.ConfigImpl,
ImageStoreNET.Developer.WebControls.PropertyFileControl]. Information from LoaderExceptions property [Could not load type 'EPiServer.Editor.Tools.ToolBase' from assembly 'EPiServer, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.,
Could not load type 'EPiServer.Editor.Tools.ToolBase' from assembly 'EPiServer, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.,
Could not load type 'EPiServer.Editor.Tools.ToolBase' from assembly 'EPiServer, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.,
Could not load type 'EPiServer.Editor.Tools.ToolBase' from assembly 'EPiServer, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.,
Could not load type 'EPiServer.Editor.Tools.ToolBase' from assembly 'EPiServer, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.].



#120950
Apr 28, 2015 16:53
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.