Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 1 of 1 total |
List Index out of bounds - DBISAM 4.24 |
Thu, Jul 3 2014 4:28 PM | Permanent Link |
Frank Bravenboer | Hi There
One of our Multi-Threaded applications (8 threads) are sporadically getting "List index out of bounds" error. Each Thread has it own Session&Database component. I was reading the support forum and came across the following reply you gave regarding multi threaded apps. < http://www.elevatesoft.com/forums?action=view&category=dbisam&id=dbisam_general&page=28&msg=61214 You need to set the SessionName *before* the DatabaseName for the TDBISAMDatabase and TDBISAMQuery components. If you don't, then they will try to use the same global default session for finding the database and accessing it. > Currently we create and assign our table/queries/dbs as follows With dataset do begin databasename:= FDB.DatabaseName; SessionName := FDB.SessionName; end; with DB do begin if AConnectType = ctBackOffice then begin DBName := 'DATAServer'; DatabaseName := 'DBBackOffice'+ASuffix; end else begin DBName := 'DATA'; DatabaseName:= 'DBLocal'+ASuffix; end; SessionName := ASes.SessionName; End; Could this be the cause of the error? Could this also cause a DBISAM Engine Error # 11010 Table or backup file '' does not exist errors in the TDataDirectory.CloseDataTable procedure? Regards |
This web page was last updated on Tuesday, April 23, 2024 at 08:10 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |