| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 535 人关注过本帖
标题:Microsoft JET Database Engine (0x80040E57)溢出??[已自行解决]
只看楼主 加入收藏
tepnidh
Rank: 2
等 级:论坛游民
帖 子:192
专家分:24
注 册:2009-8-2
结帖率:87.5%
收藏
 问题点数:0 回复次数:0 
Microsoft JET Database Engine (0x80040E57)溢出??[已自行解决]
做留言板,添加留言,有时正常,有时出现下面错误,请各位老师指点!谢谢!

错误类型:
Microsoft JET Database Engine (0x80040E57)
溢出
............第42行

<%
If Trim(Request.Form("validatecode"))=Empty Or Trim(Session("))<>Trim(Request.Form("validatecode")) Then
response.write"<script>alert('对不起,请输入正确的验证码!');history.back();</Script>"
response.end()
end if
%>
<!--#include file="../conn.asp" -->

<%
name=request("name")
tel=request("tel")
chuanz= request ("chuanz")
xx=request("xx")
bt=request("bt")
content=request("content")
  
if name="" then
     response.write("<script>alert('请填写您的姓名!');window.history.back();</script>")
     response.end()  '结束运行
  end if
        if tel="" then
   response.write("<script>alert('请填写您的联系电话!');window.history.back();</script>")
response.end()  '结束运行
  end if
  if xx="" then
     response.write("<script>alert('请填写您的信箱!');window.history.back();</script>")
     response.end()  '结束运行
  end if
   if bt="" then
  response.write("<script>alert('请您填写标题!');window.history.back();</script>")
 response.end()  '结束运行
 end if
  
  if content="" then
     response.write("<script>alert('请填写您的留言!');window.history.back();</script>")
     response.end()  '结束运行
  end if
  ........第42行
conn.execute("insert into ly([name],[tel],[chuanz],[xx],[bt],[content]) values('"&name&"','"&tel&"','"&chuanz&"','"&xx&"','"&bt&"','"&content&"')")
 '添加到数据库完成。
 response.write("<script>alert('留言成功!');location.href='../index.asp'</script>")
conn.close            
set conn=nothing     
%>


[ 本帖最后由 tepnidh 于 2012-2-24 09:30 编辑 ]
搜索更多相关主题的帖子: Microsoft 验证码 request include 留言板 
2012-02-23 07:43
快速回复:Microsoft JET Database Engine (0x80040E57)溢出??[已自行解决]
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.047158 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved