Unix Technical Forum

Connection is busy with results for another hstmt

This is a discussion on Connection is busy with results for another hstmt within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi i've made a multithread application in which a connection is being shared by multiple threads and at one ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 07:14 PM
Usman Jamil
 
Posts: n/a
Default Connection is busy with results for another hstmt

Hi
i've made a multithread application in which a connection is being shared by
multiple threads and at one time multiple threads may be using the
connection to query database. i sometimes get this error.

"Microsoft OLE DB Provider for ODBC Drivers
Error -2147467259[Microsoft][ODBC SQL Server Driver]Connection is busy with
results for another hstmt"

i thouhght that SQL Coms have ability to handle multiple threads. or may be
its my usage..Should i restrict connection usage by critical section ..or
what else can be the solution. to maximize the connection usage.

Regards

Usman Jamil


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com