Error: SQLSATATE = 08001 Unable to Start Specified Database: Can't Use Log File “Stock.log” Since it Has Been Used More Recently Than the Database File

If you receive an SQL Error referring to stock.log which is preventing you from using StockMarket Plus it generally means that a process didn’t correctly stop the last time the software was run, or some older files were leftover prior to an installation of a new version.

To fix this error, browse to the location of the database that you use to run the software, and locate and delete the stock.log file.

Unless you run a multi-database setup the file will be in the default location which is C:\Program Files (x86)\StockMarketPlus (V14 or earlier) or C:\StockMarket Plus (V15 or more recent)

If you use a multi-database setup, then the stock.log file will appear in the same location as your stock.db file that you load, e.g. if your stock.db file loads from C:\users, then your stock.log file will also be in C:\users, then your stock.log file will also be in C:\users