I'm getting this exception when trying to open a window inside a program I made, the program was done in visual studio 2017, with sqlite 3, it opens normal only from this problem when trying to open a window that contains sqlite commands.
I'm trying to run it on windows 8. The DLL System.Data.SQLite.dll is going properly inside the program folder, and the database itself (.db) is in a folder in AppData ... In windows 10 everything was OK.
Application: AASistemaIdealSulZerado.exe Framework Version: v4.0.30319 Description: The process was terminated due to an exception no treatment. Exception information: System.DllNotFoundException in System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none (System.Data.SQLite.SQLiteConfigOpsEnum) in System.Data.SQLite.SQLite3.StaticIsInitialized () in System.Data.SQLite.SQLiteLog.Initialize () on System.Data.SQLite.SQLiteConnection..ctor (System.String, Boolean) in TheSystemIdealSulZerado.dbclass.Dbideal..ctor (System.String) in AASystemIdealSulZerado.Undregas.TrainingCadastra1.ctor () em AASystemIdealSulZerado.MainWindow.Ir_NovaEntrega (System.Object, System.Windows.RoutedEventArgs) in System.Windows.EventRoute.InvokeHandlersImpl (System.Object, System.Windows.RoutedEventArgs, Boolean) in System.Windows.UIElement.RaiseEventImpl (System.Windows.DependencyObject, System.Windows.RoutedEventArgs) in System.Windows.Controls.Primitives.ButtonBase.OnClick () in System.Windows.Controls.Button.OnClick () in System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonDown (System.Windows.Input.MouseButtonEventArgs) in System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate, System.Object) in System.Windows.RoutedEventHandlerInfo.InvokeHandler (System.Object, System.Windows.RoutedEventArgs) in System.Windows.EventRoute.InvokeHandlersImpl (System.Object, System.Windows.RoutedEventArgs, Boolean) in System.Windows.UIElement.ReRaiseEventAs (System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent) System.Windows.UIElement.OnMouseDownThunk (System.Object, System.Windows.Input.MouseButtonEventArgs) in System.Windows.RoutedEventArgs.InvokeHandler (System.Delegate, System.Object) in System.Windows.RoutedEventHandlerInfo.InvokeHandler (System.Object, System.Windows.RoutedEventArgs) in System.Windows.EventRoute.InvokeHandlersImpl (System.Object, System.Windows.RoutedEventArgs, Boolean) in System.Windows.UIElement.RaiseEventImpl (System.Windows.DependencyObject, System.Windows.RoutedEventArgs) in System.Windows.UIElement.RaiseTrustedEvent (System.Windows.RoutedEventArgs) in System.Windows.Input.InputManager.ProcessStagingArea () in System.Windows.Input.InputManager.ProcessInput (System.Windows.Input.InputEventArgs) in System.Windows.Input.InputProviderSite.ReportInput (System.Windows.Input.InputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput (IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32) in System.Windows.Interop.HwndMouseInputProvider.FilterMessage (IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) in System.Windows.Interop.HwndSource.InputFilterMessage (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) in MS.Win32.HwndWrapper.WndProc (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) in MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object) in System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) in System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) in System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) in MS.Win32.HwndSubclass.SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr) in MS.Win32.UnsafeNativeMethods.DispatchMessage (System.Windows.Interop.MSG ByRef) in System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher (System.Object) at System.Windows.Application.RunInternal (System.Windows.Window) in AASystemIdealSulZerado.App.Main ()