Exception sqlite in windows 8

Asked

Viewed 38 times

0

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 containing sqlite commands.

I’m trying to run it in windows 8. DLL System.Data.Sqlite.dll is going correctly inside the program folder, and the database itself (.db) is in a folder in the Appdata... In windows 10 everything was OK.

Application: Aasistemaidealsulzerado.exe Framework Version: v4.0.30319 Description: The process was terminated due to an exception untreated. Exception Information: System.Dllnotfoundexception at System.Data.Sqlite.UnsafeNativeMethods.sqlite3_config_none(System.Data.Sqlite.Sqliteconfigopsenum) in System.Data.Sqlite.Sqlite3.Staticisinitialized() in System.Data.Sqlite.SQLiteLog.Initialize() in System.Data.Sqlite.SQLiteConnection.. ctor(System.String, Boolean) in The system is ideal for zeroing.dbclass.Dbideal.. ctor(System.String) in The system was zeroed.Entregas.Deliverystra1.. ctor() in The system is zero.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) in 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) in 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) in System.Windows.Application.Rundispatcher(System.Object) in System.Windows.Application.Runinternal(System.Windows.Window) in The system is zero.App.Main()

  • Checked if System.Data.Sqlite is marked as "Copy Local"?

  • Check the OS type if x86 or x64 and use the proper dll version.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.