Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parser Error Message: Ambiguous match found

Tags:

asp.net

Im running a web application in visual studio 2008.. i got this error when particular page was loaded.. help me to proceed.... Thank u.....

Server Error in '/PSS.NET' 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:

<%@ Register TagPrefix="uc1" TagName="CtrlButtonControl" Src="../../WebControls/CtrlButtonControl.ascx" %>  
<%@ Page language="c#" Codebehind="SPSearchFromToDtStorLocMatTypRank.aspx.cs" AutoEventWireup="false" Inherits="Sdi.Pss.Reports.SP.SPSearchFromToDtStorLocMatTypRank" %>  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

Source File: /PSS.NET/Reports/SP/SPSearchFromToDtStorLocMatTypRank.aspx Line: 1

Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614

like image 747
John Avatar asked Oct 25 '25 13:10

John


1 Answers

I've the same problem and it solved and the solution is in check your code behind and you will find a couple of Controls with the same name:

protected Button Home;

protected System.Web.UI.HtmlControls.HtmlAnchor home; 

you have to erase one line or comment it.

thanks a lot.

like image 97
Abdul Aziz Kasem Avatar answered Oct 27 '25 09:10

Abdul Aziz Kasem