Hi there,
It looks like the recordset is closed, and not necessarily empty. Even on a "full" but closed recordset, you cannot use these kind of methods and properties.
How does the sproc look like? Are you sure it's returning any records and are you sure it performs a valid SELECT statement? Are you suppressing the "Records Affected" message?
To try that out, try this:
MySecondRecordSet = Rs.NextRecordSet()
If Not MySecondRecordSet.EOF Then
Response.Write("Not EOF")
End If
If this code runs fine, you'll need to suppress the messages that SQL Server generates using SET NOCOUNT ON
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|