找到了模棱两可的比赛 [英] Ambiguous Match Found

查看:93
本文介绍了找到了模棱两可的比赛的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

分析器错误

描述:解析为此请求提供服务所需的资源时发生错误。请查看以下特定的解析错误详细信息并相应地修改源文件。

分析器错误消息:找到了模糊匹配。

来源错误:


第1行:<%@ Page 语言 = C# AutoEventWireup = true CodeBehind = PartyDetails_Report.aspx.cs MasterPageFile = 〜/ MasterPage.Master 继承 = ERPOrganization.PartyDetails_Report %>
第2行:
第3行:<%@ < span class =code-leadattribute> Register Assembly = AjaxControlToolkit 命名空间 = AjaxControlToolkit TagPrefix = cc1 %>







任何人都可以帮忙解决这个问题吗?

谢谢你dvance

解决方案




当我们在页面中创建相同的id或重复ID时会发生这种情况。

例如,如果你有一个id为ControlID的控件,如果你试图为不同的变量或控件创建相同的id,你就会得到这个错误。



请检查您的代码,看看您是否有任何控件或变量同名的歧义。



谢谢

Nagasai

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:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PartyDetails_Report.aspx.cs"  MasterPageFile="~/MasterPage.Master" Inherits="ERPOrganization.PartyDetails_Report" %>
Line 2:
Line 3:  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>




can any one help how to resolve this?
Thanks in advance

解决方案

Hi
This happens when we have same id or duplicate id created in page.
For example if you have a control with id as "ControlID" and if you try to create same id for different variable or control you will get this errror.

Please check your code to see if you have any controls or variables same name for ambiguity.

Thanks
Nagasai


这篇关于找到了模棱两可的比赛的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆