Server Error in '/bird-status' Application.

Document could not be found.

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.Exception: Document could not be found.

Source Error:


Line 11: <asp:Content ID="Content2" ContentPlaceHolderID="Content" Runat="Server">
Line 12:     <%if (StageP == 1){%>
Line 13:         <%dispPage();%>
Line 14:         <%outHid();%>
Line 15:     <%}%>

Source File: d:\www\iis\wildlife-species.canada.ca\bird-status\construction.aspx    Line: 13

Stack Trace:


[Exception: Document could not be found.]
   DocumentRead.getDocWithYear(String tag, String typeTag, Int32 year, String lang) in C:\!Coding\TFS\Upkeep\SOCSBC\Dev\webapp\soc-sbc\soc-sbc\Old_App_Code\DocumentRead.cs:91
   construction.dispPage() in C:\!Coding\TFS\Upkeep\SOCSBC\Dev\webapp\soc-sbc\soc-sbc\construction.aspx.cs:91
   ASP.construction_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in d:\www\iis\wildlife-species.canada.ca\bird-status\construction.aspx:13
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   ASP.m1col_ec_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\www\iis\wildlife-species.canada.ca\bird-status\m1col_ec.master:52
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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