Skip to content

System.TypeInitializationException: The type initializer for 'VidCoder.Model.Database' threw an exception. #1535

Description

@junweis

What were you doing when VidCoder crashed?

VidCoder 12.23 VelopackInstaller
System.TypeInitializationException: The type initializer for 'VidCoder.Model.Database' threw an exception.
---> System.IO.FileLoadException: Could not load file or assembly 'C:\Users\zzs\AppData\Local\VidCoder.Stable\current\System.Data.SQLite.dll'. 应用程序控制策略已阻止此文件。 (0x800711C7)
File name: 'C:\Users\zzs\AppData\Local\VidCoder.Stable\current\System.Data.SQLite.dll'
at VidCoder.Model.Database..cctor()
--- End of inner exception stack trace ---
at VidCoder.Model.Database.Initialize()
at VidCoder.App.OnStartup(StartupEventArgs e)
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)

Crash details

VidCoder 12.23 VelopackInstaller
System.TypeInitializationException: The type initializer for 'VidCoder.Model.Database' threw an exception.
 ---> System.IO.FileLoadException: Could not load file or assembly 'C:\Users\zzs\AppData\Local\VidCoder.Stable\current\System.Data.SQLite.dll'. 应用程序控制策略已阻止此文件。 (0x800711C7)
File name: 'C:\Users\zzs\AppData\Local\VidCoder.Stable\current\System.Data.SQLite.dll'
   at VidCoder.Model.Database..cctor()
   --- End of inner exception stack trace ---
   at VidCoder.Model.Database.Initialize()
   at VidCoder.App.OnStartup(StartupEventArgs e)
   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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashA crash is when VidCoder shows an error dialog box then unexpectedly closes.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions