-
Notifications
You must be signed in to change notification settings - Fork 50
Description
After installing the latest update last night, when I tried starting it up for the first time I got some kind of exception error and the program won't start. I have pasted below the details of the error message so hopefully this will help with diagnosing the issue with the new update.
[UPDATE] Tried uninstalling and reinstalling and the problem has resolved itself somehow. I've still left the error message below in case it's of help, but for me this problem is fixed. Thanks for reading.
System.TypeInitializationException: The type initializer for 'VidCoder.Model.Database' threw an exception. ---> System.Data.SQLite.SQLiteException: Abort due to constraint violation
column name is not unique
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at VidCoder.Model.Database.ExecuteNonQuery(String query, SQLiteConnection connection) in D:\docs\projects\VidCoder\VidCoder\Model\Database.cs:line 700
at VidCoder.Model.Database.UpgradeDatabaseTo35() in D:\docs\projects\VidCoder\VidCoder\Model\Database.cs:line 443
at VidCoder.Model.Database..cctor() in D:\docs\projects\VidCoder\VidCoder\Model\Database.cs:line 85
--- End of inner exception stack trace ---
at VidCoder.Model.Database.get_Connection()
at VidCoder.App.OnStartup(StartupEventArgs e) in D:\docs\projects\VidCoder\VidCoder\App.xaml.cs:line 83
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)