ERROR - Thread was being aborted (MySQL)

I have met a problem before,
Error Message "Thread was being aborted"
Thereupon, I try to search the internet;

but, The result mostly is explain that,
"Using response.redirect, will occur the error `Thread was being aborted`"
(Solution:Clean page redirect for setting redirect inside logical code

Therefore, I try to solve my problem with what solution I found;
but it can't solve the problem.

I found this problem may related to MySQL,

First, I found that a lot of MySQL process has not been closed, but it is impossible, I have closed all the `database connection`!
Here's what's wrong, I forget put a "semicolon" at the end of SQL command.

second suggestion, which worked for me,
is dont put the parameter when you use the "ExecuteReader" command. (In MySqlCommand)..
My System always catches this problem when running `ExecuteReader(CommandBehavior.SingleResult)`



http://cyberwebprogrammer.blogspot.com/2006/11/error-thread-was-being-aborted.html

0 comments: