I\'m developing an ASP.NET Web Api 2.2 with C#, .NET Framework 4.5.1.
After updating my Web.Api to Ninject 3.2.0 I get this error:
Error activating M
This is what worked for me.
uninstall-package Ninject.Web.WebApi.WebHost
The above command uninstalled the version 'Ninject.Web.WebApi.WebHost 3.2.4.0' and the error is gone!!
Just reconfirm, I have installed the same package using the command
install-package Ninject.Web.WebApi.WebHost
and the command installed the package 'Ninject.Web.WebApi.WebHost 3.2.4.0' and the error reappeared.