Add startup code that closes the database if it's read only and/or running from a temp folder?
Forum Rules