After a few hours (~ 6 hours Win7 64bit, ~ 24hours WinXP), a multithreaded (.NET Framework 3.5 SP1 WinForms) desktop application that uses .mdb files as a backend is working. I get the following runtime error:
Exception → Undefined error
StackTrace →
in System.Data.OleDb.OleDbConnectionInternal..ctor (OleDbConnectionString constr, connection OleDbConnection)
in System.Data.OleDb.OleDbConnectionFactory.CreateConnection (DbConnectionOptions parameters, Object poolGroupProviderInfo, DbConnectionPool Pool, DbConnection owningObject)
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection (DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
in System.Data.ProviderBase.DbConnectionFactory.GetConnection (DbConnection owningConnection)
in System.Data.ProviderBase.DbConnectionClosed.OpenConnection (DbConnection externalConnection, DbConnectionFactory ConnectionFactory)
in System.Data.OleDb.OleDbConnection.Open ()
in NetworkManager.SearchInputFileHandler.GetInputRows (SearchProgramTypeEnumeration programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, Boolean filterOutUninitializedRows)
This seems to be an OleDbProvider error.
Have you seen / experienced something like this?
Context:
(1) I use exclusively
using (OleDbConnection cnn = new OleDbConnection ("{{mymdbConnectionStringHere}}")) {
cnn.Open ();
...
}
(2) I use the IN clause in some SQL statements to point to external MDB tables.
I think the problems are caused by the case (2). Although this is still a hypothesis here to check (some code corrections are needed in the base code of my application, and now I think it's worth it to fix the errors, or better switch to the MS SQL backend.)
Thanks.