Server Error in '/' Application.

Multiple contents applied to ContentPlaceHolder1.

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: Multiple contents applied to ContentPlaceHolder1.

Source Error:


Line 1:  <%@ Page Language="VB" MasterPageFile="~/page/1Index.master" AutoEventWireup="false" CodeFile="H_detailroom.aspx.vb" Inherits="detailroom" title="" %>
Line 2:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Line 3:  </asp:Content>
Line 4:  <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

Source File: C:\inetpub\ReservationSystem\Reservation_fw4_V2\page\H_detailroom.aspx    Line: 2

Stack Trace:


[HttpException (0x80004005): Multiple contents applied to ContentPlaceHolder1.]
   System.Web.UI.Page.AddContentTemplate(String templateName, ITemplate template) +288
   ASP.page_h_detailroom_aspx.__BuildControlTree(page_h_detailroom_aspx __ctrl) in C:\inetpub\ReservationSystem\Reservation_fw4_V2\page\H_detailroom.aspx:2
   ASP.page_h_detailroom_aspx.FrameworkInitialize() in C:\inetpub\ReservationSystem\Reservation_fw4_V2\page\H_detailroom.aspx.vb:912307
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +52
   System.Web.UI.Page.ProcessRequest() +79
   System.Web.UI.Page.ProcessRequest(HttpContext context) +74
   ASP.page_h_detailroom_aspx.ProcessRequest(HttpContext context) +46
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


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