Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)错误

zhangjiansheng 2004-01-07 11:49:15
<!--#INCLUDE FILE="../asp/conn.asp" -->
<% response.Buffer=true %>
<% dim unmae
dim upass
if trim(request("uid")) ="" or trim(request("pwd")) ="" then
response.write "<center><br><font color=blue><b>密码不能为空,请正确输入密码,注意大小写、全角半角字符?!<p> <a href=# onclick='javascript:window.history.go(-1)'>返 回</a></font></b></center>"
response.end
else
Uname=cstr(trim(request("uid")))
Upass=cstr(trim(request("pwd")))
'IP= Request.ServerVariables("REMOTE_ADDR")
'response.write request.form1("uid")
set rs=server.CreateObject("adodb.recordset")
rsstr="select * from users where username='" & Uname &"' and userpsw='" &Upass& "'"
rs.open rsstr,conn,1,3
if rs.bof or rs.eof then
response.write "密码不能为空!!请输入密码!!"
else
response.Redirect("../index.htm")
'session("name ")=request("uid")
end if


end if
%>
...全文
48 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
winson79 2004-01-07
  • 打赏
  • 举报
回复
应该是连接数据库的问题
zccm 2004-01-07
  • 打赏
  • 举报
回复
数据库的问题
xiantao123 2004-01-07
  • 打赏
  • 举报
回复
<!--#INCLUDE FILE="../asp/conn.asp" -->
应该是这个文件的错误。
xieyj 2004-01-07
  • 打赏
  • 举报
回复
报告的是哪行出错?
jfly301 2004-01-07
  • 打赏
  • 举报
回复
老兄,我来了,
紫郢剑侠 2004-01-07
  • 打赏
  • 举报
回复
request("uid")

没有这种写法罢?

request.Form("uid")
fitainfo 2004-01-07
  • 打赏
  • 举报
回复
同一楼上的看法!

28,406

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧