荒野行动官网:asp 问题 高手帮忙

来源:百度文库 编辑:高考问答 时间:2024/04/29 00:19:37
误类型:
Microsoft JET Database Engine (0x80040E10)
至少一个参数没有被指定值。
/wq2/admin/msgbox1.asp, 第 15 行
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%=session("content")%>
<%
Action=LCase(Request.QueryString("Action"))
set rs=server.createobject("adodb.recordset")
sql="select "&Action&" from wq_config "
rs.open sql,conn,1,3 //第 15 行

If Not rs.Eof Then
Content=rs(0)
End If
Response.Write Content
%>

sql="select "&Action&" from wq_config "
问题出现在Action上,数据库应该没有找到这个字段

在15行上面加上
response.write Action
response.write "<br>"
response.write sql
response.end

看看Action输出的是什么。,sql输出的是什么!

再查看问题!关键的问题还是在sql语句上!

0x80040E10错误
MicrosoftOLEDBProviderforODBCDrivers(0x80040E10)-->sql语句出错(update字段名或要更新的数据类型错误)

在第15行上面加上一句
response.write sql
response.end
看下你的SQL语句是否正确,我估计问题应该是出在"&Action&"