Exception:unable to open database file

报错信息

   在 System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
   在 System.Data.SQLite.SQLiteConnection.Open()
   在 Dapper.SqlMapper.ExecuteScalarImpl[T](IDbConnection cnn, CommandDefinition& command)
   在 Quicker.Domain.Services.SQLDataMgr.GetPendingSyncItemCount()
   在 Quicker.Domain.Services.DataService.fCMkfG9y9cV7WNx3giTY(Object )
   在 Quicker.Domain.Services.DataService.GetPendingSyncItemCount()
   在 Quicker.View.SyncStateWindow.<>c__DisplayClass3_0.gxpCEq9P4iKIVuAFHN1F(Object )
   在 Quicker.View.SyncStateWindow.<>c__DisplayClass3_0.<UpdateSyncStates>b__0()
   在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.View.SyncStateWindow.<UpdateSyncStates>d__3.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.View.SyncStateWindow.<OnLoaded>d__2.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 

解决方法

写磁盘出错了。可能磁盘文件被锁定,1.23.6版本已增加捕获重试。


相关信息
0 查看
2023-11-29 15:28
Quicker版本
版本 反馈次数