运行时错误 错误 '800a01a8',帮忙看看,,谢谢

yaiba 2005-05-11 11:21:52
insert into [S_sbb](getdepartmentid,equipmentname,type,specification,unitprice,nation,productername,productid,productdate,buydate,status,getusename,useto,receiptid,usedepartmentid,checked,checker,bak,capitaltype)values('00','','','',,'','','','1980-01-01','1980-01-01','1','','','','00','N','None','','01')
Microsoft VBScript 运行时错误 错误 '800a01a8'

缺少对象: 'ActiveConnection'

/equipments/equipmentop.asp,行 33


33行附近的内容是:
<%
set comm = server.CreateObject("adodb.Command")
set comm.ActiveConnection = conn
comm.CommandText = strSQL
cmm.Execute rows,,1
if(1 = rows) then
response.Write("OK")
else
response.Write("Failed")
end if
%>


还请高手指教!谢谢
...全文
379 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
会织网的蚂蚁 2005-05-11
  • 打赏
  • 举报
回复
ActiveConnection是什么意思
不知道您这样写是为什么,请说明原因。谢谢。
yaiba 2005-05-11
  • 打赏
  • 举报
回复
如何解决呢?
小弟是初学的~~
leo963258 2005-05-11
  • 打赏
  • 举报
回复
conn 不是对象。或者参数设置有误

28,408

社区成员

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

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