“Operation is not allowed when the object is closed” when executing stored procedure

后端 未结 7 690
猫巷女王i
猫巷女王i 2020-12-20 11:12

This is my stored procedure, and when I am calling it from my classic ASP code, I am getting the error:

Operation is not allowed when the object is c

7条回答
  •  無奈伤痛
    2020-12-20 11:42

    I am sure that this will not affect many people, but I just stumbled upon this issue. This was working in production and not in the development environment. What I found was that our stored procedure had a print statement in the development environment. I guess the print statement was mucking up the works and ADODB thought that was the record set.

提交回复
热议问题