KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using ninject in an asp.net web api project and have started receiving this intermittent ninject error: " Error loading Ninject component ICache No such component has been registered in the kernel's component container. " I'm using: Ninject 3.0.1.10 Ninject.MVC3 3.0.0.6 Ninject.Web.Common 3.0.0.7 They are all brought into my project with NuGet I load my Modules in IocConfig.RegisterIoc and have made no other changes or tweaks. It may be unrelated but the problem started occurring at around the same time as I started injecting IKernel into one of my constructors. I didn't set up a binding for this having read about the "special resolver". I have read through a number of similar questions on here: Ninject + "Error loading Ninject component ICache" Ninject and ChildKernel in MVC3 project: "Error loading Ninject component ICache" Randomly-Occurring Ninject Exception: "Error loading Ninject component ICache" Although in each of these cases the OP has the same error as me the solution is not appropriate - I am not creating child kernels and I'm not using the bugged version of ninject.
Tags (comma-separated)
Save Edits
Cancel