I setup a CustomRoleProver as:
public class CustomRoleProvider : RoleProvider { private readonly IRepository _repository; pu
Most likely you are using an invalid custom dependency resolver. Read https://github.com/ninject/ninject.web.mvc/wiki/MVC3 about how to use the Ninject.MVC3 extension instead.