LiteDB.Studio
LiteDB.Studio copied to clipboard
Open Data file - BSON type not supported
Hi!
I always get the error that BSON type is not supported.
I use studio version 0.5.0.0
System.NotSupportedException: BSON type not supported
bei LiteDB.Engine.BufferReader.ReadElement(HashSet1 remaining, String& name) bei LiteDB.Engine.BufferReader.ReadDocument(HashSet
1 fields)
bei LiteDB.Engine.HeaderPage.LoadPage()
bei LiteDB.Engine.HeaderPage..ctor(PageBuffer buffer)
bei LiteDB.Engine.LiteEngine..ctor(EngineSettings settings)
bei LiteDB.ConnectionString.CreateEngine()
bei System.Lazy1.CreateValue() bei System.Lazy
1.LazyInitValue()
bei System.Lazy1.get_Value() bei LiteDB.LiteCollection
1.Query()
bei LiteDB.Studio.SqlCodeCompletion.UpdateCodeCompletion(LiteDatabase db)
bei LiteDB.Studio.MainForm.<Connect>d__6.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
Are there any solutions? Phil
@philipphagen87 Could you provide the datafile you're using?
Hello,
I am having the same issues.
Using LiteDB version 5.0.4.0
here is a simple data file that fails to load in LiteDB.Studio but ok using my code.
Thanks Richard.
@RichardClaxton Your file seemed to open correctly here (there are no collections other than the system collections). What version of LiteDB Studio did you use?
It was Version 1.0.1
It does however convert and open .db file from LiteDB.dll version 4.1.4.0 but does not open "BSON type not supported" with .db created with LiteDB.dll Version 5.0.4.0
Very strange i have just down loaded it again it is displaying version v1.0.1.0 and it has correctly loaded the .db file.
Hi! Also had the same problem. But it turned out to be the blocking of files downloaded from Internet that was the problem. Just unblock the file in the file-properties and it works again.
take a look here - #27