Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP & SQL Server Stored Procedures

Status
Not open for further replies.

cstrong

MIS
Dec 18, 2000
22
0
0
GB
Hey all,

OK, we have some stored procedures in one of our test databases which are called from an ASP page on our intranet.

The sp is only a simple INSERT statement and only inserts one row each time the SP is called.

This works just fine from Query Analyser.

However, when called from a ASP page, it won't work. The only way it works is if we have a SELECT statement in the SP! I will be posting this within an ASP forum also but I was wondering if any of you had seen this before as it sounds pretty bizarre to me!!

By the way, the error on the ASP page is that the Recordset is Closed. I did not write the ASP code and have pretty much no knowledge of it!!

Thanks!
Clive
 
Clive - why does a recordset enter in to it? I don't understand why there would be any recordset needing to be accessed if you're just sending variables to a sp. Can you post your code?

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top