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?
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.
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..
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?
I´ve got the exact same problem! So this is the only way to go... to upgrade to R2SP1?
@Martin i have exactly the same problem. Did you upgrade from SP3 to R2 sp1 directly?
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()