如何解决这个问题呢 ? [英] How to Solve this problem ?
本文介绍了如何解决这个问题呢 ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
'/'应用程序中的服务器错误。
解析器错误
描述:解析服务此请求所需的资源时发生错误。请查看以下特定的解析错误详细信息并相应地修改源文件。
分析器错误消息:找到了模糊匹配。
来源错误:
第1行:<%@ page language = C# autoeventwireup = true 继承 = Pages_pages-defualts_Form_P,App_Web_hvwohjul %>
第2行:
第3行:< !DOCTYPE html >
解决方案
仔细检查您的文件:这通常是因为名称重复。
C#在服务器上运行的代码将编译为区分大小写(即Button1
与button1
不同,但生成的HTML由Javasscript执行,不区分大小写。所以它找到了两个完全相同的对象和抱怨。
请在将来不要使用如何解决这个问题请帮助我这样的主题 - 我们已经知道你有问题需要帮助,或者你不会问一个问题。让主题简要概述你的问题 - 十个字左右。只是让我们一眼就知道我们是否知道你遇到问题的区域。
在这种情况下,像Parser Error Message:找到模糊匹配这样的东西会更有帮助。
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: <%@ page language="C#" autoeventwireup="true" inherits="Pages_pages-defualts_Form_P, App_Web_hvwohjul" %>
Line 2:
Line 3: <!DOCTYPE html>
解决方案
Check your files carefully: this is normally because of a name duplication.
The C# code that runs on the server will be compiled as case sensitive (i.e.Button1
is different frombutton1
) but the resulting HTML executed by Javasscript, which isn't case sensitive. So it finds two "identical" objects and complains.
And please, in future, do not use a subject like "How to Solve this problem please help me" - we already know you have a problem and need help, or you wouldn't be asking a question. Make the subject a brief summary of you problem - ten words or so. Just enough to let us know at a glance if we know anything about the area you are having problems in.
In this case, something like "Parser Error Message: Ambiguous match found" woudl be more helpful.
这篇关于如何解决这个问题呢 ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文