Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I had exactly the same error log. There was a major error in my Global.asax/cs. Perhaps you should check for something there?
Anyway, your error is produced before any page is executed...
I get a similar exception when trying to run the PublicTemplates project in VS2008. Has anyone tried to do this? It compiles/builds ok but i get a "ClassFactoryException: ClassFactory not initialized" when I try to run the project.
Nina, I got this error when I tried to run the project in the ASP.NET Development Server but the web.config was configured for IIS 7 (on Vista). So, if this is the case, just change the project settings to point to the IIS site instead.
I have had similar problems: I'm trying to run an existing R2 site with IIS 7 on vista. I read that I need to set the app pool to run as classic? which i did.
i get this error now:
seems lik a VPP err but have checed that the paths are correct and that IIS_IUSRS is setup to access the folders.? any ideas please
[TypeInitializationException: The type initializer for 'EPiServer.DataAbstraction.UnifiedPathInfo' threw an exception.]
at EPiServer.DataAbstraction.UnifiedPathInfo.Load(String path)
at EPiServer.FileSystem.DefaultAccessControlList..ctor(String path)
at EPiServer.Web.Hosting.DirectoryAccessControl..ctor(String virtualPath)
at EPiServer.Web.Hosting.UnifiedDirectory.get_DirectoryAC()
at EPiServer.Web.Hosting.UnifiedDirectory.QueryAccess()
at EPiServer.Web.Hosting.UnifiedDirectory.QueryDistinctAccess(AccessLevel access)
at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathHandler.InitializeProviders(ProviderSettingsCollection providers)
at EPiServer.Web.InitializationModule.InitializeVirtualPathProviders(VirtualPathElement vpElement)
at EPiServer.Web.InitializationModule.Initialize(EPiServerSection config, Settings settings, ConnectionStringSettingsCollection connectionStringSettings)
at EPiServer.Web.InitializationModule.StaticInitialization()
at EPiServer.Web.InitializationModule.Application_BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)[Inner exception TypeInitializationException: The type initializer for 'EPiServer.CacheManager' threw an exception.]
at EPiServer.StaticCacheKey.EnsureKey()
at EPiServer.StaticCacheKey..ctor(String keyName)
at EPiServer.DataAbstraction.UnifiedPathInfo..cctor()
Hi,
Have a look at this FAQ:
http://world.episerver.com/en/FAQ/Items/ClassFactory-not-initialized/