VidCoder icon indicating copy to clipboard operation
VidCoder copied to clipboard

System.Data.SQLite.SQLiteException: unable to open database file

Open Luvong opened this issue 1 year ago • 1 comments
trafficstars

What were you doing when VidCoder crashed?

start exe; after download

Crash details

VidCoder 10.14 Portable
code = CantOpen (14), message = System.Data.SQLite.SQLiteException (0x87AF03F3): unable to open database file
   at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
   at System.Data.SQLite.SQLiteConnection.Open()
   at VidCoder.Model.Database.CreateConnection() in C:\git\VidCoder\VidCoder\Model\Database.cs:line 539
   at VidCoder.Model.Database.get_Connection() in C:\git\VidCoder\VidCoder\Model\Database.cs:line 497
   at VidCoder.Model.Database.get_Version() in C:\git\VidCoder\VidCoder\Model\Database.cs:line 105
   at VidCoder.Model.Database.Initialize() in C:\git\VidCoder\VidCoder\Model\Database.cs:line 36
   at VidCoder.App.OnStartup(StartupEventArgs e) in C:\git\VidCoder\VidCoder\App.xaml.cs:line 125
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Luvong avatar Jul 29 '24 18:07 Luvong

Hmm. What folder were you running it in? It looks like it crashed trying to open VidCoder.sqlite . Do you have a VidCoder.sqlite next to your portable .exe? If so, what happens if you rename it?

RandomEngy avatar Aug 03 '24 19:08 RandomEngy