Server Error in '/' Application.

Using the Title property of Page requires a header control on the page. (e.g. <head runat="server" />).

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: Using the Title property of Page requires a header control on the page. (e.g. <head runat="server" />).

Source Error:


Line 11: 
Line 12:         Dim head As HtmlHead = CType(Page.Header, HtmlHead)
Line 13:         Me.Title = "How To File A Mechanics Lien Form In California"
Line 14:         Dim hm As New HtmlMeta()
Line 15:         hm.Name = "description"

Source File: C:\inetpub\newroot\EasyLaw\wwwroot\Lien-Services-Detail.aspx.vb    Line: 13

Stack Trace:


[InvalidOperationException: Using the Title property of Page requires a header control on the page. (e.g. <head runat="server" />).]
   System.Web.UI.Page.set_Title(String value) +11694767
   LienServicesDetail.Page_Load(Object sender, EventArgs e) in C:\inetpub\newroot\EasyLaw\wwwroot\Lien-Services-Detail.aspx.vb:13
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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