Exception : System.Web.HttpException 1
Content controls have to be top-level controls in a content page or a nested master page that references a master page.
Causes:
You have content in the same way like the old .aspx file including tags. However, when you use a master page, all content on all other pages should go into tag.
Solution:
Example,
<asp:content id=”content” contentplaceholderid=”contentplaceholder1″ runat=”server”>
content goes here!
</asp:content>
————————————————————————————————————————————————-
Exception : System.Web.Exception 1
Content controls are only allowed in content page that references a master page.
Causes : Missing MasterPageFile=”Masterpage.master” attribute in current file.
Solution : Add it.
————————————————————————————————————————————————-