title: What does <asp:Content> error mean in asp.net Master page?
body: <p>I am getting the Content controls error in my Master page. I did not leave any tag opened but still getting this error. Can somebody look at my code and point me to my mistake for correction? Can somebody explain me the error via this example?</p>
  
  <pre><code>&lt;%@ Master Language="C#" MasterPageFile="~/Data.master" AutoEventWireup="true"      CodeFile="IMS.master.cs" Inherits="ims_IMS" %&gt;
  &lt;%@ MasterType VirtualPath="~/AData.master" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="contenttop" Runat="Server"&gt;
  &lt;/asp:Content&gt;
  
  &lt;asp:Content ID="Content3" ContentPlaceHolderID="content" Runat="Server"&gt;
  &lt;div id="section-header" class="clear"&gt;
  &lt;h2 id="section-title"&gt;IMS &lt;/h2&gt;
  &lt;/div&gt;
  &lt;de:PageSecurity ID="ps1" runat="server" ContentControlId="contentwrapper" AllowdeStaff="True" AllowTechss="False" AllowPeoples="False" AllowDistrict="True" ErrorMessage="You cannot access this page." /&gt;
  &lt;div id="section-content"&gt;
          &lt;asp:ContentPlaceHolder ID="sectioncontent" Runat="Server"&gt;
          &lt;/asp:ContentPlaceHolder&gt;
      &lt;/div&gt;
  &lt;/asp:Content&gt;
  </code></pre>