写入数据库时出错

y928 2001-07-31 02:29:06
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
/35511/student/regs.asp, 第 175 行


浏览器类型:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

页:
POST 141 bytes to /kkk/student/regs.asp

POST 数据:
name=%B5%D8%B7%BD&mima=2323&check=2323&sex=%C4%D0&addr=%B4%F3%B7%F9%B6%C8%B7%A8&id=3444444444&danwei=&mail=&tell=343434&other=&MM_insert=true

那几行为Set MM_editCmd = Server.CreateObject("ADODB.Command")
MM_editCmd.ActiveConnection = MM_editConnection
MM_editCmd.CommandText = MM_editQuery
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close

哪错了??
...全文
121 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
ExitWindows 2001-07-31
  • 打赏
  • 举报
回复
up
ExitWindows 2001-07-31
  • 打赏
  • 举报
回复
gz
wheet 2001-07-31
  • 打赏
  • 举报
回复

是你的MM_editQuery有错误!!!
不妨打出来看看!!!
ExitWindows 2001-07-31
  • 打赏
  • 举报
回复
up
plghqr 2001-07-31
  • 打赏
  • 举报
回复
需要指明是操作的存储过程:
MM_editCmd.CommandType = 4 'adCmdStoredProc
tripofdream 2001-07-31
  • 打赏
  • 举报
回复
错误不在这行
y928 2001-07-31
  • 打赏
  • 举报
回复
MM_editCmd.Execute
提示是这行出错,不知是何原因??
tripofdream 2001-07-31
  • 打赏
  • 举报
回复
MM_editQuery内容?

28,409

社区成员

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

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