(0x80020009)asp错误

来源:百度知道 编辑:UC知道 时间:2024/09/25 20:23:36
<!--#include file="sjklj/sjklj1.asp"-->
<%dim admin,password,verifycode
verifycode=replace(trim(request("verifycode")),"'","")
if cstr(session("GetCode"))<>cstr(trim(request("verifycode"))) then
response.Write "<script LANGUAGE='javascript'>alert('请输入正确的验证码!"&session("GetCode")&"');history.go(-1);</script>"
response.end
end if
yhm=request("yhm")
mm=request("mm")
dim no(20)
no(0)="net user"
no(1)="xp_cndshell"
no(2)="/add"
no(3)="exec%20master.bdo.xp_cmdshell"
no(4)="net localgroup administrators"
no(5)="select"
no(6)="count"
no(7)="asc"
no(8)="char"
no(9)="mid"
no(10)="'"
no(11)=""""
no(12)=&

可能是数据库里字段不存在,或数据库损坏了

建议你先在百度知道
搜索"0x80020009"
,别人也碰过的,看人家怎么解决不就得了!!!

sql="select * from 用户表 where 用户名 = '%"& yhm &"%'"
你这里的where 用户名 = '%"& yhm &"%' 是什么意思?
%%通配符怎么可以跟=一起用?用like