“/”应用程序中的服务器错误。

The view 'ForumList' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Member/ForumList.aspx
~/Views/Member/ForumList.ascx
~/Views/Shared/ForumList.aspx
~/Views/Shared/ForumList.ascx
~/Views/Member/ForumList.cshtml
~/Views/Member/ForumList.vbhtml
~/Views/Shared/ForumList.cshtml
~/Views/Shared/ForumList.vbhtml

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.InvalidOperationException: The view 'ForumList' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Member/ForumList.aspx
~/Views/Member/ForumList.ascx
~/Views/Shared/ForumList.aspx
~/Views/Shared/ForumList.ascx
~/Views/Member/ForumList.cshtml
~/Views/Member/ForumList.vbhtml
~/Views/Shared/ForumList.cshtml
~/Views/Shared/ForumList.vbhtml

源错误:


行 21: <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
行 22: <div class="wrap_content marginbottom10 margintop10 forum_2013">
行 23: <%Html.RenderAction("ForumList", "Member"); %>
行 24: </div>
行 25: </asp:Content>

源文件: d:\wwwroot\localUser\milanvip\Views\milan\2016\ForumList.aspx    行: 23

堆栈跟踪:


[InvalidOperationException: The view 'ForumList' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Member/ForumList.aspx
~/Views/Member/ForumList.ascx
~/Views/Shared/ForumList.aspx
~/Views/Shared/ForumList.ascx
~/Views/Member/ForumList.cshtml
~/Views/Member/ForumList.vbhtml
~/Views/Shared/ForumList.cshtml
~/Views/Shared/ForumList.vbhtml]
   System.Web.Mvc.ViewResult.FindView(ControllerContext context) +511
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +143
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +17
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +31
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +448
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +265
   System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +117
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +187
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +30
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +14
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +44
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +13
   System.Web.Mvc.<>c__DisplayClassa.<EndProcessRequest>b__9() +47
   System.Web.Mvc.<>c__DisplayClass4.<Wrap>b__3() +18
   System.Web.Mvc.ServerExecuteHttpHandlerWrapper.Wrap(Func`1 func) +29
   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +1509

[HttpException (0x80004005): 执行处理程序“System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper”的子请求时出错。]
   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +2533
   System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) +135
   System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +34
   System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +573
   System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper htmlHelper, String actionName, String controllerName) +52
   ASP.views_milan_2016_forumlist_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\localUser\milanvip\Views\milan\2016\ForumList.aspx:23
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   ASP.views_milan_2016_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\localUser\milanvip\Views\milan\2016\Site.Master:31
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +75
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4573


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4075.0