We encounter the following error in some of our environments, apparently after reusing the application pool.
An instance of IControllerFactory was found in resolver, as well as a custom registered provider in ControllerBuilder.GetControllerFactory. Please install only one or the other.
We do not use ControllerBuilder to register our factory controller, only IDependencyResolver, as indicated in this blog
We use Castle Windsor (seemingly unconnected) as our container, and in Application_Start from Global.asax, first registering all our dependencies and calling the following to register IDepencencyResolver.
DependencyResolver.SetResolver(new WindsorDependencyResolver(IoC));
What can cause this exception? Any help would be appreciated.
Jace rhea
source share