[InvalidOperationException: Multiple types were found that match the controller named 'National'. 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 'National' has found the following matching controllers:
PuzzleSchoolOneNew.Areas.Sama.Controllers.NationalController
PuzzleSchoolOneNew.Areas.Royal.Controllers.NationalController
PuzzleSchoolOneNew.Areas.NewCastle.Controllers.NationalController
PuzzleSchoolOneNew.Areas.AlAhram.Controllers.NationalController
PuzzleSchoolOneNew.Areas.Masters.Controllers.NationalController
PuzzleSchoolOneNew.Areas.Ramatan.Controllers.NationalController]
System.Web.Mvc.DefaultControllerFactory.GetControllerTypeWithinNamespaces(RouteBase route, String controllerName, HashSet`1 namespaces) +254
System.Web.Mvc.DefaultControllerFactory.GetControllerType(RequestContext requestContext, String controllerName) +637
System.Web.Mvc.DefaultControllerFactory.System.Web.Mvc.IControllerFactory.GetControllerSessionBehavior(RequestContext requestContext, String controllerName) +57
System.Web.Mvc.MvcRouteHandler.GetSessionStateBehavior(RequestContext requestContext) +215
System.Web.Mvc.MvcRouteHandler.GetHttpHandler(RequestContext requestContext) +45
System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +12026237
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +139
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88
|