An unhandled exception of type 'System.Threading.ThreadAbortException' occurred in Unknown Module.
Interesting problem. We have narrowed it down to the exact cause, and would
like an explanation of what's going on behind the scenes.
Simple bit of code:
OleDbConnection con = new OleDbConnection(@"data source=E:\My
OleDbCommand cmd = new OleDbCommand("Select * from Customers", con);
OleDbDataReader reader = cmd.ExecuteReader();
Response.Write(reader + "<br>");
Notice the connection string - it points to the BIN directory. This runs
fine, but try to run it in the debugger and watch the output window. The
thread gets torn down every request, but after the results are returned.
Move the db to another directory, and it works fine.
|All times are GMT. The time now is 09:52 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.