Server Error in '/' Application.

Parser Error

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 file '~masterurl/custom.master' is not a valid master page.

Source Error:


Line 9: <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> Line 10: Line 11: <%@ Page Language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" Line 12: MasterPageFile="~masterurl/custom.master" Title="Testing This Page" meta:progid="SharePoint.WebPartPage.Document" %> Line 13:

Source File: /ar/Pages/default.aspx    Line: 11


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