Server Error in '/' Application.

鏈壘鍒板垎閮ㄨ鍥锯€渕head鈥濇垨娌℃湁瑙嗗浘寮曟搸鏀寔鎼滅储鐨勪綅缃€傛悳绱簡浠ヤ笅浣嶇疆:
~/Views/Default/mhead.aspx
~/Views/Default/mhead.ascx
~/Views/Shared/mhead.aspx
~/Views/Shared/mhead.ascx
~/Views/Default/mhead.cshtml
~/Views/Default/mhead.vbhtml
~/Views/Shared/mhead.cshtml
~/Views/Shared/mhead.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: 鏈壘鍒板垎閮ㄨ鍥锯€渕head鈥濇垨娌℃湁瑙嗗浘寮曟搸鏀寔鎼滅储鐨勪綅缃€傛悳绱簡浠ヤ笅浣嶇疆:
~/Views/Default/mhead.aspx
~/Views/Default/mhead.ascx
~/Views/Shared/mhead.aspx
~/Views/Shared/mhead.ascx
~/Views/Default/mhead.cshtml
~/Views/Default/mhead.vbhtml
~/Views/Shared/mhead.cshtml
~/Views/Shared/mhead.vbhtml

Source Error:


Line 1:  @using Maticsoft.Common
Line 2:  @model Jia.Controllers.DefaultController.PageModel
Line 3:  @Html.Partial("mhead")
Line 4:  

金沙990活动大厅(中国)有限公司-GREEN NO.1

Line 5:

Source File: d:\wwwroot\111\cxsjy\MvcApplication1\Views\default\m_index.cshtml    Line: 3

Stack Trace:


[InvalidOperationException: 鏈壘鍒板垎閮ㄨ鍥锯€渕head鈥濇垨娌℃湁瑙嗗浘寮曟搸鏀寔鎼滅储鐨勪綅缃€傛悳绱簡浠ヤ笅浣嶇疆: 
~/Views/Default/mhead.aspx
~/Views/Default/mhead.ascx
~/Views/Shared/mhead.aspx
~/Views/Shared/mhead.ascx
~/Views/Default/mhead.cshtml
~/Views/Default/mhead.vbhtml
~/Views/Shared/mhead.cshtml
~/Views/Shared/mhead.vbhtml]
   System.Web.Mvc.HtmlHelper.FindPartialView(ViewContext viewContext, String partialViewName, ViewEngineCollection viewEngineCollection) +327
   System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) +264
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +91
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName) +32
   ASP._Page_Views_Default_m_index_cshtml.Execute() in d:\wwwroot\111\cxsjy\MvcApplication1\Views\default\m_index.cshtml:3
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
   System.Web.WebPages.StartPage.RunPage() +17
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +236
   System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +291
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13
   System.Web.Mvc.<>c__DisplayClass1a.b__17() +23
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +245
   System.Web.Mvc.<>c__DisplayClass1c.b__19() +22
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +176
   System.Web.Mvc.Async.<>c__DisplayClass2a.b__20() +75
   System.Web.Mvc.Async.<>c__DisplayClass25.b__22(IAsyncResult asyncResult) +99
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
   System.Web.Mvc.<>c__DisplayClass1d.b__18(IAsyncResult asyncResult) +14
   System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
   System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
   System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
   System.Web.Mvc.<>c__DisplayClass8.b__3(IAsyncResult asyncResult) +25
   System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9651188
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209
Baidu
sogou