View Single Post
  #9 (permalink)  
Old December 19th, 2007, 02:15 PM
spatnaik spatnaik is offline
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The custom.master(mvp.master) file provided in chapter 6, gives the following error:
================================================== ===========
Parser Error Message: Duplicate ContentPlaceHolder 'head' were found. ContentPlaceHolders require unique IDs.

Source Error:


Line 22: <%-- The head section includes a content placeholder for the page title and links to CSS and JavaScript files that run on the server. --%>
Line 23: <head runat="server">
Line 24: <asp:ContentPlaceHolder runat="server" id="head">
Line 25: <title>
Line 26: <asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server" />
================================================== ===========

if you change the id from "head" to something else it works fine

--Sanjay
Reply With Quote