Skip to content

Instantly share code, notes, and snippets.

@MarMed
Created August 10, 2016 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarMed/9ea36ace1b093832e8f8950729a61dff to your computer and use it in GitHub Desktop.
Save MarMed/9ea36ace1b093832e8f8950729a61dff to your computer and use it in GitHub Desktop.
System.InvalidOperationException: Error loading Ninject component ICache No such component has been registered in the kernel's component container. Suggestions: 1) If you have created a custom subclass for KernelBase, ensure that you have properly implemented the AddComponents() method. 2) Ensure that you have not removed the component from the container via a call to RemoveAll(). 3) Ensure you have not accidentally created more than one kernel. at Ninject.Components.ComponentContainer.Get (System.Type component) <0x421ec050 + 0x0017f> in :0 at Ninject.Components.ComponentContainer.Get[T] () <0x421ebc40 + 0x00027> in :0 at Ninject.KernelBase.CreateContext (IRequest request, IBinding binding) <0x40fdcc60 + 0x0005f> in :0 at Ninject.KernelBase+<>c__DisplayClass15.b__f (IBinding binding) <0x40fdcc10 + 0x00028> in :0 at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () <0x42034470 + 0x00139> in :0 at System.Linq.Enumerable.Single[TSource] (IEnumerable`1 source) <0x42057550 + 0x000de> in :0 at Ninject.ResolutionExtensions.Get (IResolutionRoot root, System.Type service, Ninject.Parameters.IParameter[] parameters) <0x41058220 + 0x00037> in :0 at PlexRequests.UI.Helpers.ServiceLocator.Resolve (System.Type type) <0x41057f00 + 0x0003f> in :0 at PlexRequests.UI.Jobs.CustomJobFactory.NewJob (Quartz.Spi.TriggerFiredBundle bundle, IScheduler scheduler) <0x41057d40 + 0x00062> in :0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment