Skip to content

Instantly share code, notes, and snippets.

@flaviodesousa
Created April 6, 2012 13:53
Show Gist options
  • Save flaviodesousa/2319963 to your computer and use it in GitHub Desktop.
Save flaviodesousa/2319963 to your computer and use it in GitHub Desktop.
Unable to load DLL 'SQLite.Interop.dll'
ENVIRONMENT INFORMATION:
========================
Username: fds201112151033
Date: Thursday, April 05, 2012
User Agent: OfficeDropSync OfficeDrop.Sync/1.3.4478.35476 Win32NT/Microsoft Windows NT 6.1.7601 Service Pack 1 (.Net Framework v4.0.30319)
Product Name: OfficeDrop Sync
Current Culture: en-US
EXCEPTION INFO:
========================
0: Exception Type: System.Reflection.TargetInvocationException
0: Exception Message: Exception has been thrown by the target of an invocation.
at System.RuntimeFieldHandle.GetValue(RtFieldInfo field, Object instance, RuntimeType fieldType, RuntimeType declaringType, Boolean& domainInitialized)
at System.Reflection.RtFieldInfo.InternalGetValue(Object obj, Boolean doVisibilityCheck, Boolean doCheckConsistency)
at System.Reflection.RtFieldInfo.GetValue(Object obj)
at System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow)
at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
at OfficeDrop.Sync.Database.Connection.get_Provider()
at OfficeDrop.Sync.Database.Connection.CreateDatabaseFile()
at OfficeDrop.Sync.Database.Connection..ctor(String databaseName, String ddlName, String versionTable)
at OfficeDrop.Sync.Model.Replica.TryLoadReplica()
at OfficeDrop.Sync.OfficeDropApplication.StartReplica()
at OfficeDrop.Sync.OfficeDropApplication.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
------------------------
Inner Exception:
1: Exception Type: System.TypeInitializationException
1: Exception Message: The type initializer for 'System.Data.SQLite.SQLiteFactory' threw an exception.
1:
------------------------
Inner Exception:
2: Exception Type: System.DllNotFoundException
2: Exception Message: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
2: at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config(Int32 op, SQLiteLogCallback func, IntPtr pvUser)
at System.Data.SQLite.SQLite3.StaticIsInitialized()
at System.Data.SQLite.SQLiteLog.Initialize()
at System.Data.SQLite.SQLiteFactory..cctor()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment