I am using Ninject on my MVC 3 project deployed on appharbor. I noticed that I get an exception when the application is started, and it looks like something inside Ninject is th
The problem is not caused by Ninject. It is NewRelic.Agent.Core.AgentShim (used by AppHarbor) that is the culprit.
Although looking at the stacktrace, I think you can work around this problem by disabling Ninject's automatic extenison loading feature and load them manually.
var kernel = new StandardKernel(new NinjectSettings { LoadExtensions = false })
kernel.Load(new Ninject.Web.Mvc.MvcModule()); // same for all other extension modules
We've temporarily disabled the New Relic add-on and removed the New Relic agent from AppHarbor servers. We'll re-add New Relic once it's no longer causing problems for applications running on the platform.