Riddhi Valecha

Riddhi Valecha

  • 429
  • 3.2k
  • 396.9k

Master Page Error - Ambiguous match found.

Apr 12 2015 7:26 AM
Hi all,

I am getting the following error -

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: Ambiguous match found.

Source Error:

Line 1:  <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="RiddhiHomeMasterPage.master.cs" Inherits="Aviation.MasterPages.RiddhiHomeMasterPage" %> Line 2:   Line 3:  <%--<!DOCTYPE html>--%>

Source File: /MasterPages/RiddhiHomeMasterPage.Master    Line: 1


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


-------------

I have checked all css classes, nothing is repeating ...

How to solve this ??

I tried making a new master page all together and again inheriting in in aspx page.

PLease help !
-------
Master Page File -
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="RiddhiHomeMasterPage.master.cs" Inherits="Aviation.MasterPages.RiddhiHomeMasterPage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../App_Themes/Scripts/master.css" rel="stylesheet" />
 <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
</body>


Answers (18)