' sqlite3.dll未加载'在尝试安装GitHub时

时间:2015-04-09 11:44:02

标签: github github-for-windows

我正在尝试使用从windows.github.com下载的GitHubSetup.exe来安装GitHub。安装程序'下载'它需要什么,然后关闭,什么都不做。

查看TheLog.txt(在AppData / GitHub中)显示以下内容:

2015-04-09 12:18:24.0747|ERROR|thread: 1|CrashManager|Dumping Loaded Module List
2015-04-09 12:18:24.0325|ERROR|thread: 1|CrashManager|Aieeeeeeee!
System.TypeInitializationException: The type initializer for 'NativeMethods' threw an exception. ---> System.Exception: sqlite3.dll was not loaded.
   at SQLitePCL.SQLite3Provider.NativeMethods..cctor()
   --- End of inner exception stack trace ---
   at SQLitePCL.SQLite3Provider.NativeMethods.sqlite3_open_v2(Byte[] filename, IntPtr& db, Int32 flags, Byte[] vfs)
at SQLitePCL.SQLite3Provider.SQLitePCL.ISQLite3Provider.sqlite3_open_v2(String filename, IntPtr& db, Int32 flags, String vfs)
   at Akavache.Sqlite3.Internal.SQLiteConnection..ctor(String databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks)
   at Akavache.Sqlite3.Internal.SQLiteConnection..ctor(String databasePath, Boolean storeDateTimeAsTicks)
at Akavache.Sqlite3.SQLitePersistentBlobCache..ctor(String databaseFile, IScheduler scheduler)
   at GitHub.Helpers.SqlitePersistentBlobCacheFactory.CreateBlobCache(String path)
   at GitHub.Helpers.SharedCache.<>c__DisplayClass5.<.ctor>b__1()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at GitHub.Helpers.SharedCache.get_LocalMachine()
   at GitHub.Helpers.AppLogManager.get_AnonymousIdentifier()
   at GitHub.Helpers.HaystackTarget.Write(LogEventInfo logEvent)
   at NLog.Targets.Target.Write(AsyncLogEventInfo logEvent)
2015-04-09 12:18:24.0747|ERROR|thread: 1|CrashManager|Inner Exception
System.Exception: sqlite3.dll was not loaded.
   at SQLitePCL.SQLite3Provider.NativeMethods..cctor()

&#39; sqlite3.dll未加载。&#39;也是我尝试单击桌面上放置的GitHib快捷方式时出现的错误。

我正在运行Windows 8.1,64位。

我尝试下载sqlite3.dll文件并将其放在system32中,但这没有做任何事情。我还明确告诉我的防火墙允许连接安装程序。我觉得这有点过头 - 有没有人有任何建议?

如果我需要提供更多信息,请与我们联系!

非常感谢!

1 个答案:

答案 0 :(得分:1)

Brendan,这是Windows开发人员的GitHub之一。

最新更新引入了一个依赖项,该依赖项需要一个未安装的Visual C ++ Redistributable版本作为先决条件。作为一种解决方法,您可以从此处安装32位版本,然后将其添加回来:

http://www.microsoft.com/en-us/download/details.aspx?id=30679