asp.net-mvcweb-deployment

The IControllerFactory 'System.Web.Mvc.DefaultControllerFactory' did not return a controller for the name 'Home'


I am working on ASP.net MVC codefirst application, I deployed 2 weeks before to live server it was working fine, after that I have made changes, in DB controllers view etc but not in routing and any Global.asax deployed again today now getting this error

The IControllerFactory 'System.Web.Mvc.DefaultControllerFactory' did not return a controller for the name 'Home'. enter image description here

dont know how to trace the issue

on local development server it is working fine


Solution

  • I solved this problem
    Actually there was issue with DB Connectionstring