JosefNemec / LiteDbExplorer

Viewer and editor for https://github.com/mbdavid/LiteDB databases.
MIT License
218 stars 104 forks source link

Errors loading database #30

Closed wilberolive closed 2 years ago

wilberolive commented 6 years ago

I was able to load a database once, but now I just get errors.

When I try and load a database using File->Open I get:

Failed to open database: Access to the path 'C\Program Files (x86)\LiteDbExplorer\recentfiles.txt' is denied.

When I try to load the same database using the recent files drop down list I get:

Unhandled exception occurred. Additional information written into: 'C\Program Files (x86)\LiteDbExplorer\explorer.log' Application will shutdown.

I check the path for explorer.log but it doesn't exist.

I think these settings and log files should be written to app data or something like that instead of program files.

JosefNemec commented 6 years ago

Run application as admin or install it to other folder then Program Files. There's an issue if you install into directory that requires admin rights to write files.