ASP.NET运行时错误:发现不明确的匹配 [英] ASP.NET runtime error : Ambiguous Match found

查看:786
本文介绍了ASP.NET运行时错误:发现不明确的匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我的团队转变ASP.NET项目从.NET 1.1到.NET 2.0。一切都是pretty的好为止,除了一个网页。

Recently, my team converted ASP.NET project from .NET 1.1 to .NET 2.0. Everything is pretty good so far except for one web page.

这是我当我试图打开这个网页的错误信息:

This is the error message I got when I tried to open this page:

分析器错误说明:错误   的解析过程中出现   ,资源所需维修本   请求。请检查以下   具体分析错误详细信息和   适当地修改源文件。

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.

源错误:

1号线:其中,%@控制语言=C#   AutoEventWireup =假   codebehind =Template.ascx.cs   继承=eReq.Web.WebControls.Template.Template   TargetSchema =htt​​p://schemas.microsoft.com/intellisense/ie5   %>第2行:第3行:   功能   ExpandCollapse_Template(inBtn,   切入口,inSectionID){

Line 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="Template.ascx.cs" Inherits="eReq.Web.WebControls.Template.Template" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> Line 2: Line 3: function ExpandCollapse_Template(inBtn, inSection, inSectionID) {

源文件:   /WebControls/Template/Template.ascx
  行:1

Source File: /WebControls/Template/Template.ascx
Line: 1

----------------------------------------------- ---------------------------------版本信息:微软.NET   Framework版本:2.0.50727.3053;   ASP.NET版本:2.0.50727.3053

-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

我试图重命名类和重命名文件名,但没有奏效。

I tried renaming class and renaming filename but it didn't work.

任何人有任何的想法对吗?

Anyone have any idea on this?

推荐答案

这可能出现,因为组件的不同的名字呢?例如Button1的和按钮1,它编译为CASESENSITIVE,而是CASEINSENSITIVE执行。

It may appeared because of different names of components? for example Button1 and button1, it compiles as casesensitive, but executed as caseinsensitive.

这篇关于ASP.NET运行时错误:发现不明确的匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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