I am attempting to follow the tutorial “SoccerWebSite”, I have reached lesson 4, when I try to “Logon” I am unable to do so do the error as shown below. I will be grateful if you would advise me as to how I can overcome this error.
A new learner to WebMatrix.
gordoncartwright772@btinternet.com
The following sections have been defined but have not been rendered for the layout page "~/_SiteLayout.cshtml": "Scripts".
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 following sections have been defined but have not been rendered for the layout page "~/_SiteLayout.cshtml": "Scripts".
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:
[HttpException (0x80004005): The following sections have been defined but have not been rendered for the layout page "~/_SiteLayout.cshtml": "Scripts".]
System.Web.WebPages.WebPageBase.VerifyRenderedBodyOrSections() +206598
System.Web.WebPages.WebPageBase.PopContext() +318
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +95
System.Web.WebPages.<>c__DisplayClass7.b__6(TextWriter writer) +236
System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +12
System.Web.WebPages.WebPageBase.Write(HelperResult result) +67
System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +65
System.Web.WebPages.WebPageBase.PopContext() +248
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +95
System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +119
________________________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
↧