asp.net网站发布后提示Ambiguous match found
来源:互联网 发布:淘宝评价置顶规则 编辑:程序博客网 时间:2024/05/16 06:56
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. 在VS中编译无误,未发布的网站访问也没有问题。但在网站发布后却发现了如上的问题。 Parser Error
Parser Error Message: Ambiguous match found.
Source Error: Line 1: <%@ control language="C#" autoeventwireup="true" inherits="XXXX.XXX.EditUserRoles, App_Web_rgt8ei1p" %>
查了N久,以為是發布的時候出了什么騾子,結果查了一下,是cs變量的問題,差點暈倒:
protected string RNO = "";
結果,一個Label控件的名字也叫rno,只不過是小寫的????
呵呵,值得注意了,天!
檢查了半天,終于查到。
把控件的名字改為lblRNO,其實平時注意命名規范,這種問題應該不會發生,不過發生了,你也多知道了一個知識點,一個陷阱!
哈
- asp.net网站发布后提示Ambiguous match found
- 关于错误:Ambiguous match found
- ASP.Net部署网站后提示HTTP Error 404.2 – Not Found的解决方法
- ASP.Net部署网站后提示HTTP Error 404.2 – Not Found的解决方法
- 解决ASP.NET网站“发布后”提示“用户 'NT AUTHORITY\IUSR' 登录失败。”问题
- IBatis.NET 1.9.2 1.6.2 应用于.NET4.0,解决Ambiguous match found
- Asp.net网站发布
- asp.net发布网站
- Asp.net发布网站
- asp.net 发布网站
- ASP.NET发布网站
- ASP.NET网站发布
- asp.net 网站发布
- ASP.NET网站发布
- 发布asp.net网站
- asp.net 网站发布
- IIS网站发布后的安全问题(asp.net,C#)
- asp.net mvc 网站发布后IIS配置问题小结
- 【FLEX】实现音频播放的波浪效果【转】
- 理解javascript类的实现
- [转帖]Photoshop巧做照片艺术处理:裙摆飞扬
- 测试文字
- 收集关于hibernate的不足
- asp.net网站发布后提示Ambiguous match found
- 异或运算符(xor) 的妙用
- 【转】如何在C++获得系统时间
- JavaScript中的公有成员,私有成员和静态成员
- 内核代码中一个逗号表达式比较特别的用法
- JavaScript实现类的继承
- 【转】C++标准库中用来计算时间差的函数 C++标准库用来格式化输出时间字符串
- 选择 Wealth-Lab Developer的原因
- js prototype中文手册