Server Error in '/' Application.

The file "~/views/va/header.cshtml" could not be rendered, because it does not exist or is not a valid page.

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.Web.HttpException: The file "~/views/va/header.cshtml" could not be rendered, because it does not exist or is not a valid page.

Source Error:


Line 140:    <div class="wrapper">
Line 141:        <header>
Line 142:            @RenderPage("~/views/va/header.cshtml")
Line 143:        </header>
Line 144:        @RenderBody()

Source File: e:\www2016des\va\_layout.cshtml    Line: 142

Stack Trace:


[HttpException (0x80004005): The file "~/views/va/header.cshtml" could not be rendered, because it does not exist or is not a valid page.]
   System.Web.WebPages.WebPageBase.CreatePageFromVirtualPath(String virtualPath, HttpContextBase httpContext, Func`2 virtualPathExists, DisplayModeProvider displayModeProvider, IDisplayMode displayMode) +318
   System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +252
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
   ASP._Page_va__layout_cshtml.Execute() in e:\www2016des\va\_layout.cshtml:142
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +99
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +185
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122
   System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +309
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +89
   System.Web.WebPages.WebPageBase.PopContext() +356
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +142


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