I have an asp page that opens a recordset based on a stored procedure. It works fine. I have a second stored procedure that takes the exact same input parameters as the first and creates the exact same output.
When, in SQL Server Query Analyzer the input parameters have their values set and then and execute commands are run, one right after the other, both SPs run fine and give the same output.
When, in the .asp page I change the name of the stored procedure that is the source for the recordset, I get the following error message:
ADODB.Recordset error '800a0e78'
Operation is not allowed when the object is closed.
/testpage4.asp, line 138
Lines 137 and 138 are:
Set rsAppTest = spAppTest.Execute
While (NOT rsAppTest.EOF)
The permissions on the SP have been set to allow it to run.
Any ideas why this might not work?
When, in SQL Server Query Analyzer the input parameters have their values set and then and execute commands are run, one right after the other, both SPs run fine and give the same output.
When, in the .asp page I change the name of the stored procedure that is the source for the recordset, I get the following error message:
ADODB.Recordset error '800a0e78'
Operation is not allowed when the object is closed.
/testpage4.asp, line 138
Lines 137 and 138 are:
Set rsAppTest = spAppTest.Execute
While (NOT rsAppTest.EOF)
The permissions on the SP have been set to allow it to run.
Any ideas why this might not work?