VidCoder icon indicating copy to clipboard operation
VidCoder copied to clipboard

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

Open SchreckbrickerSven opened this issue 6 months ago • 1 comments
trafficstars

What were you doing when VidCoder crashed?

Installation on Win11 Pro

Crash details

VidCoder 11.11 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 537
   at VidCoder.Model.Database.get_Connection() in C:\git\VidCoder\VidCoder\Model\Database.cs:line 495
   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)

SchreckbrickerSven avatar May 17 '25 04:05 SchreckbrickerSven

Does this happen on every launch? When it's unable to open the database file, there isn't anything we can do. It looks like the portable version, where is the VidCoder.sqlite, is it in the same directory? I'm wondering if there is a permissions issue.

RandomEngy avatar Jun 19 '25 23:06 RandomEngy