-
Notifications
You must be signed in to change notification settings - Fork 54
Description
While following along in the book I found the following issue that can be reproduced with the repo.
- Load
/Person/Indexand verifySearchfunctionality works. - Navigate to
/Person/Createand create a newPerson. - Clicking
Createadds the person to the database and redirects to/Person/Index. - Attempt to use
Searchagain and it does nothing.-
Firebug shows a response of 404 with the following exception contained within:
[HttpException]: The controller for path '/SearchPeople' was not found or does not implement IController.
at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-