D
dubian
I have several applications that were using the old VBSQL controls to
communicate with SQL 6.5. I needed to get them to SQL2000 and instead
of rewriting the entire applications to use MDAC or such, I wrote an
interface that emulates VBSQL to the application and redirects all the
calls to SQL 2000.
It is working great, except on occasion, I get the "Operation cancelled
by user" exception intermittently.
I discovered, that by removing all calls to the SqlCommand.Cancel
method, my problem goes away.
My question is: When do I actually need to call cancel. If nothing is
to be canceled, why does it throw an exception. Basically, just what
the hell is going on because I cannot make sense of it.
Thanks.
communicate with SQL 6.5. I needed to get them to SQL2000 and instead
of rewriting the entire applications to use MDAC or such, I wrote an
interface that emulates VBSQL to the application and redirects all the
calls to SQL 2000.
It is working great, except on occasion, I get the "Operation cancelled
by user" exception intermittently.
I discovered, that by removing all calls to the SqlCommand.Cancel
method, my problem goes away.
My question is: When do I actually need to call cancel. If nothing is
to be canceled, why does it throw an exception. Basically, just what
the hell is going on because I cannot make sense of it.
Thanks.