I am using Ninject for DI (with MVC3), its working fine on my development environment, but on the server it's giving this error:
An error occurred when trying to create a controller of type 'Mynamespace.MyController'. Make sure that the controller has a parameterless public constructor.
I spent the last 3 hours searching for answers and applying them, such as changing some code and checking that all required DLLs are uploaded.
But I'm still unable to find a solution.
Its working fine on my local environment, I am only facing this issue on the server.