G
Guest
Hi all,
I hv encountered this exception 'The SqlTransaction has completed; it is no
longer usable.' in my VB application. The application calls a T-SQL stored
procedure, returning around 9000 rows in a DataSet and back to the app. It is
built using VB .Net 2003, with SQL Server 2003 as the database.
When that exception is thrown, I tried running the same stored procedure in
Query Analyzer and it returns results within 4 seconds. And the weird thing
is, after that error occured, even if I don't do anything to the system,
after a few minutes it mysteriously goes away. And the VB app can return data
within a few seconds! It is happening every now and then, and can occur even
if only one or two users using the system.
I was thinking if Query Analyzer can return data very quickly... Then cld it
be something to do with the ADO.
Hope someone can help me with this mysterious happening. TQ very much in
advance.
I hv encountered this exception 'The SqlTransaction has completed; it is no
longer usable.' in my VB application. The application calls a T-SQL stored
procedure, returning around 9000 rows in a DataSet and back to the app. It is
built using VB .Net 2003, with SQL Server 2003 as the database.
When that exception is thrown, I tried running the same stored procedure in
Query Analyzer and it returns results within 4 seconds. And the weird thing
is, after that error occured, even if I don't do anything to the system,
after a few minutes it mysteriously goes away. And the VB app can return data
within a few seconds! It is happening every now and then, and can occur even
if only one or two users using the system.
I was thinking if Query Analyzer can return data very quickly... Then cld it
be something to do with the ADO.
Hope someone can help me with this mysterious happening. TQ very much in
advance.