【问题描述】
Connection Client无法打开,报错CONNECTION client stopped working,如下图 -
在提取到Connection Client的日志文件Bentley.Connect.Client.exe.log中,可以找到下面报错信息:
ERROR - App - CurrentDomain_UnhandledException Unhandled Exception caught: System.TypeInitializationException: “Bentley.Connect.Client.Database.DbManager”的类型初始值设定项引发异常。 ---> System.EntryPointNotFoundException: 无法在 DLL“SQLite.Interop.dll”中找到名为“SI0773159780bced42”的入口点。
在 System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op)
在 System.Data.SQLite.SQLite3.StaticIsInitialized()
在 System.Data.SQLite.SQLiteLog.PrivateInitialize(String className)
在 System.Data.SQLite.SQLiteLog.Initialize(String className)
在 System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
在 Bentley.Connect.Client.Database.DbManager.VerifyDatabase()
在 Bentley.Connect.Client.Database.DbManager..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 Bentley.Connect.Client.Database.DbManager.VerifyDatabase()
在 Bentley.Connect.Client.Framework.Manager..ctor()
在 Bentley.Connect.Client.Framework.Manager.GetManager()
在 Bentley.Connect.Client.App..ctor()
在 Bentley.Connect.Client.Program.Main()
System.EntryPointNotFoundException: 无法在 DLL“SQLite.Interop.dll”中找到名为“SI0773159780bced42”的入口点。
在 System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op)
在 System.Data.SQLite.SQLite3.StaticIsInitialized()
在 System.Data.SQLite.SQLiteLog.PrivateInitialize(String className)
在 System.Data.SQLite.SQLiteLog.Initialize(String className)
在 System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
在 Bentley.Connect.Client.Database.DbManager.VerifyDatabase()
在 Bentley.Connect.Client.Database.DbManager..cctor()
另外,该报错也可以通过Connection Client的Crash日志中找到。该日志通常存储路径为 C:\Users\Administrator\AppData\Local\Bentley\CrashReports\
【解决方案】