Comments (6)
The error message (Invalid database version: 6) comes from the exception catch when creating an instance of LiteDatabase.
Can you try running this with this DB file to see if it works?
public void OpenDatabase(string filePath)
{
try
{
var liteDatabase = new LiteDatabase(filePath);
}
catch (Exception e)
{
Console.WriteLine("Failed to open database: " + e.Message);
throw;
}
}
from litedbexplorer.
Thank you Julian,
Maybe you thing that I am some kind of coder :)
I don't know where to put this code?
from litedbexplorer.
I understand, to run this you would have to have some basic dotnet programming skill.
Are you sure this file is from LiteDB version >= 4? How old is this file?
You can also try on other viewers:
A GUI viewer tool: https://github.com/falahati/LiteDBViewer
LiteDB Manager tool : https://darwich.mx/downloads/
from litedbexplorer.
Yes I have found a way to open it with LiteDBViewer4 - this app converts me to name.v3.db from name.db
Only after this i can open the file with LiteDbExplorer.
The problem is that I can not turn the file back to its original version after making the changes.
Thank you again
from litedbexplorer.
This project relies on and directly uses LiteDB v4 assembly, if core LiteDB v4 is not compatible with older versions this project is not also in a simple way.
You can try an old version of the original project (maybe 0.5), see: https://github.com/JosefNemec/LiteDbExplorer/releases
Another option to try would be to create a new build of this project by doing the dowgrade of the LiteDB DLL version (require dotnet skill), but something must break due to version Breaking changes.
Anyway when I have time I will try to test this to see if it works.
I will also take advantage to implement the upgrade process as in LiteDbExplorer.
from litedbexplorer.
Without pretense of supporting versions prior to 4 this issue will be closed.
In version 0.8.0 the error message on the case was improved and in the future a tool will be added for one way migration from version 3 to 4.
If you have more information and/or questions please comment or open a new one.
from litedbexplorer.
Related Issues (20)
- OutOfMemoryException HOT 8
- Multiple viable DialogHosts Bug
- Comments Not Ignored
- Enhancement Request: Save/Load Query Files HOT 2
- Enchancement Request: V5 Support HOT 7
- Any plan import from 'csv' file and 'json' file ? HOT 3
- Application crashes when openend for a while HOT 2
- Enhancement Request: Option to Save DB Passwords HOT 1
- Show timer on queries HOT 2
- Cannot edit _id HOT 2
- The editor is not enable to use the DB file in another process (for example, my website) HOT 7
- Update not working on "shared" mode HOT 1
- Incorrectly reporting its version number 0.8.5.2 ... says it's v0.8.5.1 HOT 1
- Unable to click on Refresh button when switching between table tabs. HOT 4
- Copying entries crashed application HOT 1
- Can't open/work with db when file open in another application HOT 1
- Can you build up a Mac version? HOT 1
- Won't Open Database, No Error HOT 2
- Is There A Plan to Support Version 5 ? HOT 12
- dbexplorer is crashing everytime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litedbexplorer.