活动连接错误
我只是在经典 asp 中使用 sql 存储过程来执行查询和数据插入等。但是我似乎遇到了以下错误:
.ActiveConnection = db
我得到的唯一错误是
错误“80004005”
每当我尝试调用存储过程时,无论它是函数文件中的存储过程还是正在执行的实际文件中,我都会收到此错误。如果我将连接详细信息直接放在其上方,我似乎可以工作,但是下一个存储过程会失败。我以前从未遇到过这个问题,我只能认为它可能与我正在执行的其他过程有关,即使用数据读取器对象从 CSV 中读取数据。谢谢
I am just using sql store procedures inside classic asp to perform queries and data insertions etc. However I seem to be getting errors on the following:
.ActiveConnection = db
The only error I get is
error '80004005'
I get this error whenever I try calling a store procedure, whether it be a store procedure in a function file or in the actual file being executed. I seems to work if I put the connection details directly above it however it then fails for the next store procedure. I have never had this issue before and I can only think it may have something to do with the other process I am carrying out, which is reading data out of a CSV with with the data reader object. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看一下 this,它提供了不同 80004005 错误条件的详细列表以及如何修复它们。
正如 @RogerSpear00 所说,如果您不发布更完整的代码片段,就很难提供帮助。
Take a look at this which provides a nice list of different 80004005 error conditions and how to go about fixing them.
As @RogerSpear00 says it is hard to help if you don't post a fuller code snippet.