Problems upgrading from SP3 to R2

Member since: 2006
 
Having issues after upgrading to R2, site refuse to start at all and all we get is this error message: 
Been looking around without finding anything and even tried the application_firstbeginrequest workaround (just in case), but to no avail. Quite stuck right now and have no idea what i should try next. Anyone have any ideas?
Sidan kunde inte laddas

Länken som du angav fungerar inte, detta kan bero på tillfälligt underhåll alternativt att länken är felaktig.
Detailed error information (authorized by permissions to functions)

Error occured 2008-11-06 11:33:05
User IP 127.0.0.1
User Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
Url http://localhost/
Referer (none)

Exception details: TypeInitializationException: The type initializer for 'EPiServer.DataAbstraction.UnifiedPathInfo' threw an exception.

Stack trace:

[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()
Sidan kunde inte laddas

Länken som du angav fungerar inte, detta kan bero på tillfälligt underhåll alternativt att länken är felaktig.
Detailed error information (authorized by permissions to functions)

Error occured 2008-11-06 11:33:05
User IP 127.0.0.1
User Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
Url http://localhost/
Referer (none)

Exception details: TypeInitializationException: The type initializer for 'EPiServer.DataAbstraction.UnifiedPathInfo' threw an exception.

Stack trace:

[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()

#25805 Nov 06, 2008 11:49
  • Member since: 2006
     
    Erm, that didnt turn out so well, hope you can read it anyways since I apparently can't edit the first post in a topic :)
    #25806 Edited, Nov 06, 2008 11:50
  • Member since: 2002
     

    This is an upgrade, so I'm guessing you have all your access rights set correctly. But, check them anyway. Check for the folders under Apllication in the program files\episerver\.... too.

    On which OS are you doing the upgrade? 

    #25813 Nov 06, 2008 12:55
  • Member since: 2006
     

    Why should what access rights are on the program files folder matter for my website (which is not at all located there)?

     My os is win XP.

     

    Gonna check access rights on the site folders and see if something is fishy.

    #25817 Nov 06, 2008 13:44
  • Member since: 2001
     
    The "systemfolders" are moved to program files during the upgrade, that is why you should check it. Check the vpp paths in your web.config.
    #25830 Nov 06, 2008 20:50
  • Member since: 2006
     

    Ya I already moved those elsewhere since program files is the last place we want them (who ever thought of spreading out the site files even more?). Seemed to be a security issue with the folder I put them. It didnt inherit the access rights from its parent folder.

    Now to get the community working again..

    #25834 Nov 06, 2008 22:17
  • Member since: 2007
     

    I'm having the same issue..

    Because I use IIS7 so I can't use the Deployment Center to upgrade, so I'm doing it manually.

    I have upgraded the database, copied the needed files til the bin-folder and made the changes to web.config (assembly redirects, virtual path providers for the new filestructure)

    When accessing the site normally:

    Exception details: TypeInitializationException: The type initializer for 'EPiServer.CacheManager' threw an exception.

    Stack trace:

    [TypeInitializationException: The type initializer for 'EPiServer.CacheManager' threw an exception.]
    at EPiServer.Web.FriendlyUrlRewriteProvider.ConvertToInternal(UrlBuilder url, Object& internalObject)
    at EPiServer.Web.UrlRewriteModule.HttpUrlRewriteToInternal(UrlBuilder url)
    at EPiServer.Web.UrlRewriteModuleBase.BeginRequestEventHandler(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 ClassFactoryException: ClassFactory not initialized]
    at EPiServer.BaseLibrary.ClassFactory.get_Instance()
    at EPiServer.BaseLibrary.ClassFactory.IsRegistered(Type baseType)
    at EPiServer.CacheManager..cctor()

    When accessing edit/admin mode:

    Exception details: ClassFactoryException: ClassFactory not initialized

    Stack trace:


    [ClassFactoryException: ClassFactory not initialized]
    at EPiServer.BaseLibrary.ClassFactory.get_Instance()
    at EPiServer.BaseLibrary.Context.get_Current()
    at EPiServer.Security.MultiplexingMembershipProvider.set_CurrentUsername(String value)
    at EPiServer.Security.MultiplexingRoleProvider.SetCurrentMembershipUser(String username)
    at EPiServer.Security.MultiplexingRoleProvider.GetRolesForUser(String username)
    at System.Web.Security.RolePrincipal.IsInRole(String role)
    at System.Web.Configuration.AuthorizationRule.IsTheUserInAnyRole(StringCollection roles, IPrincipal principal)
    at System.Web.Configuration.AuthorizationRule.IsUserAllowed(IPrincipal user, String verb)
    at System.Web.Configuration.AuthorizationRuleCollection.IsUserAllowed(IPrincipal user, String verb)
    at System.Web.Security.UrlAuthorizationModule.OnEnter(Object source, EventArgs eventArgs)
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

     

    Any suggestions?

     

    #28004 Edited, Feb 17, 2009 10:34
  • Member since: 2006
     
    I have exactly the same problem too..
    #28025 Feb 17, 2009 15:43
  • Member since: 2006
     
    Ok, I solved it by upgrading the website to latest EPiServer version!
    #28030 Feb 17, 2009 16:51
  • Member since: 2007
     

    I´ve got the exact same problem! So this is the only way to go... to upgrade to R2SP1?

     

    #28496 Mar 12, 2009 8:52
  • Member since: 2013
     

    @Martin i have exactly the same problem. Did you upgrade from SP3 to R2 sp1 directly?

    #79657 Dec 27, 2013 12:11
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.
Please login to post a reply