litedb啟動(dòng)運(yùn)行報(bào)錯(cuò)(LiteDB.Studio)
廣告:
引發(fā)的異常:“System.Configuration.ConfigurationErrorsException”(位于 System.Configuration.dll 中)
“LiteDB.Studio.exe”(CLR v4.0.30319: LiteDB.Studio.exe): 已加載“C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_zh-Hans_b77a5c561934e089\mscorlib.resources.dll”。模塊已生成,不包含符號(hào)。引發(fā)的異常:“System.TypeInitializationException”(位于 LiteDB.Studio.exe 中)“System.TypeInitializationException”類型的未經(jīng)處理的異常在 LiteDB.Studio.exe 中發(fā)生“ICSharpCode.TextEditor.Util.AppSettingsManager”的類型初始值設(shè)定項(xiàng)引發(fā)異常。
定位:
if (AppSettingsManager.ApplicationSettings.LoadLastDbOnStartup && AppSettingsManager.IsLastDbExist()){this.Connect(AppSettingsManager.ApplicationSettings.LastConnectionStrings);}
刪除:C:\Users\Administrator\AppData\Local\LiteDB\
C:\Users\Administrator\AppData\Local\LiteDB\LiteDB.Studio.exe_Url_xp253tvb0gdkssg1dyertufdffrdlar4\1.0.3.0
刪除此下面 user.config
廣告: