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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL and IIS hangs when large data is retrieved from BLOBS

Status
Not open for further replies.

akshetrapal

Programmer
Feb 11, 2001
1
US
I am building a website with IIS Server4.0 and Sql Server 7.0.
From an asp page i call a VB Component. The component has a Stored Procedure to get the data from SQL 7.0 using recordset. The data is retrieved from a field which is used to store Images and Doc (data type=image, some thing to do with BLOB)These are the doc and images uploaded by users which are stored in database. Since the data being retrieved is very large(5 MB atleat) the stored procedure hangs the sql server and VB Component keeps waiting for the stored procedure to return the recordset. This causes the IIS Server to hang.
Is there a way that i can kill this stored procedure from the VB Component, if it does not return the result after a specific time and then throw a message to the ASP page?
Please help as this is urgent.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top