Microsoft JET Database Engine 错误 '80040e07' 求助
从允 2010-07-29 10:49:20 提示错误:
Microsoft JET Database Engine 错误 '80040e07'
标准表达式中数据类型不匹配。
/regfun.asp,行 424
代码:
(红色是424行)
'检测email及Ip是否重复
if onlymail = 1 then
If not conn.Execute("Select userid From [9cool_user] where email='"&email&"' and groups="&clng(groups)&"").eof Then
WriteErrMsg("您所用的E-mail已经注册过了!")
end if
end if
if iptime = 1 then
If not conn.Execute("Select userid From [9cool_user] where regip='"&GetIP()&"' and groups="&clng(groups)&" and regdate='"&Date()&"'" ).eof Then
WriteErrMsg("这段时间注册的用户过多,请隔段时间再试!")
end if
end if
'判断用户名是否重复
If not conn.Execute("Select userid From [9cool_user] where username='"&username&"'" ).eof Then
WriteErrMsg("您所选择的用户名已经注册过了!")
end if
'判断目录是否存在
望高人解答,谢谢。