-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems when Upgrading from 3.2.1 to 3.2.2 - ICache Error #18
Comments
Would you mind send a sample demo to me? |
I have the same issue, is there a solution for that? |
Unfortunately, I cannot post example code for my issue here because of policies with my customer. Is it possible to use multiple Kerne instances with this Framework? Let me describe my context a littlebit: I multiple Plugins for dedicated Tasks in my App. Every Plugin has it's own Kernel and own DI registrations. I looked into your code and find that line here. And if I check the base class GlobalKernelRegistration MapKernels method it looks like Kernels are stored as WeakReferences by Ninject. |
Hi,
I have a Project, where I am using the following Ninject Components:
with this Confoguration everything works fine
When I update the Ninject.Web.Common to:
I get the following Error, when I am calling the Website:
Error loading Ninject component ICache
No such component has been registered in the kernel's component container.
Suggestions:
implemented the AddComponents() method.
Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.
Ausnahmedetails: System.InvalidOperationException: Error loading Ninject component ICache
No such component has been registered in the kernel's component container.
Suggestions:
implemented the AddComponents() method.
Quellfehler:
Beim Ausführen der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen über den Ursprung und die Position der Ausnahme können mit der Ausnahmestapelüberwachung angezeigt werden.
Stapelüberwachung:
[InvalidOperationException: Error loading Ninject component ICache
No such component has been registered in the kernel's component container.
Suggestions:
implemented the AddComponents() method.
]
Ninject.Components.ComponentContainer.Get(Type component) +425
Ninject.Components.ComponentContainer.Get() +50
Ninject.Web.Common.<>c__DisplayClass2.b__1(IKernel kernel) +58
Ninject.GlobalKernelRegistration.MapKernels(Action`1 action) +172
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
My NinjectWebCommon.cs looks like:
If you need more Informations please tell me
thx
squadwuschel
The text was updated successfully, but these errors were encountered: