[InvalidOperationException: Multiple types were found that match the controller named 'search'. This can happen if the route that services this request ('{controller}/{action}/{id}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter.
The request for 'search' has found the following matching controllers:
AgentSystemMvc.Mobile.SearchController
AgentSystemMvc.Idx.SearchController]
System.Web.Mvc.DefaultControllerFactory.GetControllerTypeWithinNamespaces(RouteBase route, String controllerName, HashSet`1 namespaces) +134
System.Web.Mvc.DefaultControllerFactory.GetControllerType(RequestContext requestContext, String controllerName) +595
AgentSystemMvc.Code.AgentSystemControllerFactory.CreateController(RequestContext requestContext, String controllerName) in C:\Projects\RPS\Sites\AgentSystem\Code\AgentSystemControllerFactory.cs:32
Rps.Data.Rps.DCControllerFactory.CreateController(RequestContext requestContext, String controllerName) in C:\Projects\RPS\Libraries\Legacy\Rps.Data\datamodels\Support\DI\DCControllerFactory.cs:23
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +190
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +50
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +48
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +2219
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +140
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +2060
|