注册 登录
编程论坛 ASP.NET技术论坛

帮忙解决一个网站发布的问题

Aviva_Wang 发布于 2013-03-27 09:58, 771 次点击
CS1061: 'ASP.get_mainget_aspx' does not contain a definition for 'ddlCode_TextChanged' and no extension method 'ddlCode_TextChanged' accepting a first argument of type 'ASP.get_mainget_aspx' could be found (are you missing a using directive or an assembly reference?)


Line 33:             <tr>
Line 34:                 <td>产品名称:</td>
Line 35:                 <td><asp:DropDownList ID="ddlCode" runat="server" AutoPostBack="True"  OnTextChanged="ddlCode_TextChanged">
Line 36:                         <asp:ListItem Value="0">--请选择--</asp:ListItem>
Line 37:                         <asp:ListItem Value="1">J28-Enclouse</asp:ListItem>

这个是在IIS发布上报错,在VS中发布是成功的
5 回复
#2
shangsharon2013-03-27 14:14
代码文件里没有 "ddlCode_TextChanged" 这样一个事件处理的方法.
#3
Aviva_Wang2013-03-27 15:15
当然有了呀,中午的时候,我不知道怎么弄的,居然不这个错误了。我现在又加一个按钮,又报CS1061: 'ASP.jabil_print_aspx' does not contain a definition for 'lbMore_Click' and no extension method 'lbMore_Click' accepting a first argument of type 'ASP.jabil_print_aspx' could be found (are you missing a using directive or an assembly reference?)这个错误了,我要纠结死啦
#4
Aviva_Wang2013-03-27 15:39
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.
又重新发布了一遍,居然又出现这个问题了,求大神呀
#5
awl8052013-03-28 12:37
修复下vs
#6
Aviva_Wang2013-03-29 08:10
后来发现了,是连接池的问题,连接池的物理路径出错
1