ASP式好时坏是什么原因

tigerhnit 2003-04-20 06:26:30
我用SET DbCon=Server.CreateObject("ADODB.CONNECTION")有时能够成功,返回结果也正确,有时失败,不知道为什么?请高手指点,返回见下
Active Server Pages 错误 'ASP 0241'
CreateObject 异常
/main/QueryCode/search.asp
'(null)'的 CreateObject 引起异常 C0000005。
Active Server Pages 错误 'ASP 0241'
CreateObject 异常
/main/QueryCode/search.asp
'(null)'的 CreateObject 引起异常 C0000005。
服务器对象 错误 'ASP 0177 : c0000005'
Server.CreateObject 失败
/main/QueryCode/search.asp,行14
c0000005
...全文
32 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
tigerhnit 2003-04-21
  • 打赏
  • 举报
回复
不会吧,和我提交的数据有关?数据是死的啊?为什么有时可以,有时不可以,况且是有时可以有时不可以,我重起了一下机器…………现在可以了………………呵呵
caoshangfei 2003-04-20
  • 打赏
  • 举报
回复
这跟你提交的数据有关。。。
eafin 2003-04-20
  • 打赏
  • 举报
回复
ASP错误代码说明
错误代码 错误消息 说明
ASP0100 Out of memory 内存不足(不能分配要求的内存
ASP0101 Unexpected error 意外错误
ASP0102 Expecting string input 缺少字符串输入
ASP0103 Expecting numeric input 缺少数字输入
ASP0104 Opration not allowed 操作不允许
ASP0105 Index out of ange 索引超出范围(一个数组索引超届)
ASP0106 Type Mismatch 类型不匹配(遇到的数据类型不能被处理)
ASP0107 Stack Overflow 栈溢出(正在处理的数据超出了允许的范围)
ASP0115 Unexpected error 意外错误(外部对象出现可捕获的exception_name错误,脚本不能继续运行)
ASP0177 Server.CreateObject Failed 服务器创建对象失败(无效的progid)
ASP0190 Unexpected error 意外错误(当释放外部对象,产生可捕获的错误)
ASP0191 Unexpected error 意外错误(在外部对象的OnStartPage方法中产生可捕获的错误)
ASP0192 Unexpected error 意外错误(在外部对象的OnEndPage方法中产生可捕获的错误)
ASP0193 OnStartPage Failed 在外部对象的OnStartPage方法中产生错误
ASP0194 OnEndPage Failed 在外部对象的OnEndPage方法中产生错误
ASP0240 Script Engine Exception 脚本引擎从object_name对象中抛出exception_anme异常
ASP0241 CreateObject Exception object_name 对象的CreatObject方法引起了exception_name异常
ASP0242 Query OnStartPage nterface 查询对象Object_name的OnsException

28,391

社区成员

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

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