Master Pages-- Parser Error

Discussion in 'ASP.NET 2.0' started by ndihdi, Feb 16, 2006.

  1. My application has a .aspx page in which i'm using a masterpage..When i try to open this page , i get this parser error:
    how to overcome it?

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: The 'MasterPageFile' attribute is not supported by the 'page' directive.

    Source Error:





    Code:
    Line 1:  <%@ Page Language="C#" MasterPageFile="filemaster.master" %>
    
     
  2. Your site could be running the .NET 1.1 framework. Switch to 2.0 in the IIS Manager of the control panel.

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page