Server Error in '/' Application.

The partial view '_NewDetail' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/News/_NewDetail.aspx
~/Views/News/_NewDetail.ascx
~/Views/Shared/_NewDetail.aspx
~/Views/Shared/_NewDetail.ascx
~/Views/News/_NewDetail.cshtml
~/Views/News/_NewDetail.vbhtml
~/Views/Shared/_NewDetail.cshtml
~/Views/Shared/_NewDetail.vbhtml

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The partial view '_NewDetail' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/News/_NewDetail.aspx
~/Views/News/_NewDetail.ascx
~/Views/Shared/_NewDetail.aspx
~/Views/Shared/_NewDetail.ascx
~/Views/News/_NewDetail.cshtml
~/Views/News/_NewDetail.vbhtml
~/Views/Shared/_NewDetail.cshtml
~/Views/Shared/_NewDetail.vbhtml

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The partial view '_NewDetail' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/News/_NewDetail.aspx
~/Views/News/_NewDetail.ascx
~/Views/Shared/_NewDetail.aspx
~/Views/Shared/_NewDetail.ascx
~/Views/News/_NewDetail.cshtml
~/Views/News/_NewDetail.vbhtml
~/Views/Shared/_NewDetail.cshtml
~/Views/Shared/_NewDetail.vbhtml]
   System.Web.Mvc.PartialViewResult.FindView(ControllerContext context) +406
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +147
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +109
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +97
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +241
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +19
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +51
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009

免责声明: 本站资料及图片来源互联网文章,本网不承担任何由内容信息所引起的争议和法律责任。所有作品版权归原创作者所有,与本站立场无关,如用户分享不慎侵犯了您的权益,请联系我们告知,我们将做删除处理!