金书红颜录 1.13 头像:asp连接数据库出现Microsoft JET Database Engine 错误 '80040e57'

来源:百度文库 编辑:高校问答 时间:2024/04/29 23:24:06
Microsoft JET Database Engine 错误 '80040e57'

字段太小而不能接受所要添加的数据的数量。试着插入或粘贴较少的数据。

/reg.asp,行 141

相关代码:

sql="insert into [user](user_name,user_pass,user_turename,user_sex,user_qq,user_phone,user_mail,user_address,user_zipcode,user_idcard,user_ip,user_lastlogintime) values('"&name&"','"&Md5(pass2)&"','"&turename&"','"&sex&"','"&qq&"','"&phone&"','"&mail&"','"&address&"','"&zipcode&"','"&idcard&"','"&userip&"','"&now()&"') "
conn.execute(sql)

你的数据库设计的时候弄一个字段给的长度太小.具体自己去看看吧.可能哪个超过长度了.USER表中某一个字段的长度,太小