Fixing Errors: 'Unexpected error 26' and 'Cannot open database'