ADODB.Connection 错误 '800a0bb9' 是什么错误?

windy_w_2001 2002-05-17 11:29:28
execute sp_insertorderdata 355,'wen','gyh','dixia','shanghai','dazhou','ert','11111','degftretr','3','ni2921@sina.com','wen','gyh','dixia','shanghai','dazhou','ert','11111','degftretr','3','ni2921@sina.com','2002-5-17',248
ADODB.Connection 错误 '800a0bb9'

未知的运行时错误

/validateshipupdate.asp,行34


这是我在向表orderdata中插入一条记录时的错误显示。
代码如下:

connstr="...."
set dborderdata=server.createobject("adodb.connection")
dborderdata.open connstr
sql="execute sp_insertorderdata "&idshopper & ",'" &session("chrshipfirstname")& "','" &session("chrshiplastname") & "','" &session("chrshipaddress") & "','" &session("chrshipcity") & "','" &session("chrshipstate") & "','" &session("chrshipcountry") & "','" &session("chrshipzipcode") & "','" &session("chrshipphone")& "','" &session("chrshipfax") & "','" &session("chrshipemail") &"','" &session("chrbillfirstname") & "','" &session("chrbilllastname") & "','" &session("chrbilladdress") & "','" &session("chrbillcity") & "','" &session("chrbillstate") & "','" &session("chrbillcountry") & "','" &session("chrbillzipcode") & "','" &session("chrbillphone") &"','" &session("chrbillfax") & "','" &session("chrbillemail") & "','" &dtordered &"'," &idbasket
response.write sql
set rsorderdata=dborderdata.execut(sql)
set rsorderdata=rsorder.nextrecordset
response.write rsorderdata("idorder")
...全文
71 点赞 收藏 6
写回复
6 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
windy_w_2001 2002-05-21
感谢各位热心的帮助,结贴,分数平分!
回复
windy_w_2001 2002-05-21
可能谁都不会注意到:
set rsorderdata=dborderdata.execut(sql)这句,"execut"应该是"execute".
仅此而已!
我太粗心了!也太没经验了。
回复
ChinaOk 2002-05-17
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
回复
BrightEye 2002-05-17
数据类型不匹配或者超出了接受范围,或者是彼此冲突.
回复
BrightEye 2002-05-17
数据类型不匹配或者超出了接受范围,或者是彼此冲突.
回复
windy_w_2001 2002-05-17
那问题出在哪呢?
回复
相关推荐
发帖
ASP
创建于2007-09-28

2.8w+

社区成员

ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
申请成为版主
帖子事件
创建了帖子
2002-05-17 11:29
社区公告
暂无公告