JosefNemec / LiteDbExplorer

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

LiteDb explorer crashing while opening Database #8

Closed SanjeevKarki closed 7 years ago

SanjeevKarki commented 7 years ago

I have an existing LiteDB database.The moment i select the DB to open LiteDB explorer crashes.

JosefNemec commented 7 years ago

Any chance you can share database causing crashes?

JosefNemec commented 7 years ago

Also make sure that database is created in LiteDB 3.0+ or migrated to 3.0+, because Explorer doesn't migrate DBs and only supports 3.0+ databases.

SanjeevKarki commented 7 years ago

schoolwayz.txt

i am sending you my data base file as (schoolwayz.txt)-change its extension to (schoolwayz.db)

JosefNemec commented 7 years ago

It crashes on: Invalid database version: 6 What LiteDB version are you using?

JosefNemec commented 7 years ago

I fixed the crash in 0.3, error is now being reported instead of crash. However I can't do anything with this specific DB to make it work with Explorer. It's simply not compatible with LiteDB 3.0+ file format.

SanjeevKarki commented 7 years ago

Thanks a lot Josef. I'll change my DB version. Thanks again.