“/”應用程序中的服務器錯誤。

The view 'index2' or its master was not found. The following locations were searched:
~/views/home/index2.aspx
~/views/shared/pages/index2.aspx

說明: 執行當前 Web 請求期間,出現未處理的異常。請檢查堆棧跟蹤信息,以了解有關該錯誤以及代碼中導緻錯誤的出處的詳細信息。

異常詳細信息: System.InvalidOperationException: The view 'index2' or its master was not found. The following locations were searched:
~/views/home/index2.aspx
~/views/shared/pages/index2.aspx

源錯誤:

執行當前 Web 請求期間生成了未處理的異常。可以使用下面的異常堆棧跟蹤信息确定有關異常原因和發生位置的信息。

堆棧跟蹤:


[InvalidOperationException: The view 'index2' or its master was not found. The following locations were searched:
~/views/home/index2.aspx
~/views/shared/pages/index2.aspx]
   System.Web.Mvc.ViewResult.FindView(ControllerContext context) +625375
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +156
   System.Web.Mvc.<>c__DisplayClass14.<InvokeActionResultWithFilters>b__11() +31
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +656883
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +254
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +658100
   System.Web.Mvc.Controller.ExecuteCore() +125
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__4() +48
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21
   System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +15
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +85
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +51
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +454
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +263


版本信息: Microsoft .NET Framework 版本:2.0.50727.5477; ASP.NET 版本:2.0.50727.5479
http://m.juhua877356.cn|http://wap.juhua877356.cn|http://www.juhua877356.cn||http://juhua877356.cn