November Happy Hour will be moved to Thursday December 5th.

This slave site has no master license information

Vote:
 

Hi, We are getting this error after restoring the database. The licences are all up to daye and correct and the correct users are set up in the database. We dont even have a Master / Slave set up but this error persists:

This slave site has no master license information

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
Exception Details: EPiServer.Core.EPiServerException: This slave site has no master license information
Source Error: 

[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\7175802e\8f153ee7\App_global.asax.ckufkecy.0.cs    Line: 0 
Stack Trace: 

[EPiServerException: This slave site has no master license information]
   EPiServer.DataAccess.DataAccessBase.VerifyMasterCode() +370
   EPiServer.DataAccess.DataAccessBase.MasterSlaveHandling() +317
   EPiServer.DataAccess.<>c__DisplayClass1`1.<Execute>b__0() +188
   EPiServer.DataAccess.DatabaseFactory.Execute(Action`1 method) +74
   EPiServer.DataAbstraction.UnifiedPathInfo.LoadFromVirtualPath(String virtualPath) +99
   EPiServer.DataAbstraction.UnifiedPathInfo.Load(String path) +130
   EPiServer.FileSystem.DefaultAccessControlList..ctor(String path) +71
   EPiServer.Web.Hosting.DirectoryAccessControl..ctor(String virtualPath) +39
   EPiServer.Web.Hosting.UnifiedDirectory.get_DirectoryAC() +401
   EPiServer.Web.Hosting.UnifiedDirectory.QueryAccess() +130
   EPiServer.Web.Hosting.UnifiedDirectory.QueryDistinctAccess(AccessLevel access) +27
   EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath) +425
   EPiServer.Web.Hosting.VirtualPathHandler.InitializeProviders(ProviderSettingsCollection providers, Boolean captureCustomExceptions) +1798
   EPiServer.Web.InitializationModule.InitializeVirtualPathProviders(VirtualPathElement vpElement) +171
   EPiServer.Web.InitializeEngine.Initialize() +516
   EPiServer.Web.InitializationModule.Initialize(EPiServerSection config, Settings settings, ConnectionStringSettingsCollection connectionStringSettings) +2150
   EPiServer.Web.InitializeEngine.Initialize() +516
   EPiServer.Web.InitializationModule.StaticInitialization() +1494
   EPiServer.Web.InitializationModule.Initialize(InitializationEngine context) +46
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +647
   EPiServer.Framework.Initialization.InitializationEngine.Initialize(HostType hostType) +115
   EPiServer.Framework.Initialization.InitializationModule.Initialize(HostType hostType) +199
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +64
   EPiServer.Global..ctor() +74
   ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\7175802e\8f153ee7\App_global.asax.ckufkecy.0.cs:0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +117
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +247
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +106
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +12732893
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +83
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +315
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11524352
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4782309

 

 

#66681
Mar 06, 2013 17:17
Vote:
 

Hi Jonathan,

I would double check that your not running a slave license. If you are you will need to start the master site first so that this gets registered in the database. (think the information will be valid for 1 month)

If your licenses aren't slave master ones just clear up the table [tblMasterSlave] and see if that helps.

 

[edit for spelling]

#66715
Edited, Mar 07, 2013 10:19
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.