Sitecore.Glimpse
Sitecore.Glimpse copied to clipboard
Error activating ILogManager in Sitecore 8 sites
See the GitHub pages for details of installing Glimpse in Sitecore 8.x websites and the issues arising from Sitecore.Social assemblies using the Ninject IoC.
Server Error in '/' Application.
Error activating ILogManager No matching bindings are available, and the type is not self-bindable. Activation path:
- Request for ILogManager
Suggestions:
- Ensure that you have defined a binding for ILogManager.
- If the binding was defined in a module, ensure that the module has been loaded into the kernel.
- Ensure you have not accidentally created more than one kernel.
- If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name.
- If you are using automatic module loading, ensure the search path and filters are correct.
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: Ninject.ActivationException: Error activating ILogManager No matching bindings are available, and the type is not self-bindable. Activation path:
- Request for ILogManager
Suggestions:
- Ensure that you have defined a binding for ILogManager.
- If the binding was defined in a module, ensure that the module has been loaded into the kernel.
- Ensure you have not accidentally created more than one kernel.
- If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name.
- If you are using automatic module loading, ensure the search path and filters are correct.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ActivationException: Error activating ILogManager No matching bindings are available, and the type is not self-bindable. Activation path:
- Request for ILogManager
Suggestions:
- Ensure that you have defined a binding for ILogManager.
- If the binding was defined in a module, ensure that the module has been loaded into the kernel.
- Ensure you have not accidentally created more than one kernel.
- If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name.
- If you are using automatic module loading, ensure the search path and filters are correct. ] Ninject.KernelBase.Resolve(IRequest request) +1231 Ninject.ResolutionExtensions.Get(IResolutionRoot root, IParameter[] parameters) +83 Sitecore.Social.Client.Mvc.Pipelines.Initialize.RegisterSocialArea.DoProcess() +697 (Object , Object[] ) +74 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484 Sitecore.Nexus.Web.HttpModule.Application_Start() +227 Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +673 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +618 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +419 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343
[HttpException (0x80004005): Error activating ILogManager No matching bindings are available, and the type is not self-bindable. Activation path:
- Request for ILogManager
Suggestions:
- Ensure that you have defined a binding for ILogManager.
- If the binding was defined in a module, ensure that the module has been loaded into the kernel.
- Ensure you have not accidentally created more than one kernel.
- If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name.
- If you are using automatic module loading, ensure the search path and filters are correct. ] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +120 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +712
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.81.0
Resolve by commit 0ca12778ef424bebfc2171e31adbf00102e70e7c
Added Glimpse:DisableAsyncSupport appSetting to web.config transform.
Just a note that this hasn't been included in the release.
I resolved this by commenting out the line <setting name="Social.IoC.AssemblyFullName" value="Ninject, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7" />
in Sitecore.Social.config.