[InvalidOperationException: 未找到视图“NewsList”或其母版视图,或没有视图引擎支持搜索的位置。搜索了以下位置:
~/Views/News/NewsList.aspx
~/Views/News/NewsList.ascx
~/Views/Shared/NewsList.aspx
~/Views/Shared/NewsList.ascx
~/Views/News/NewsList.cshtml
~/Views/News/NewsList.vbhtml
~/Views/Shared/NewsList.cshtml
~/Views/Shared/NewsList.vbhtml]
System.Web.Mvc.ViewResult.FindView(ControllerContext context) +495
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +137
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +31
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +415
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +623
System.Web.Mvc.Controller.ExecuteCore() +137
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +91
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +54
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +25
System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +51
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128
|