Exception:unable to open database file unable to open database fileunable to open database file unable to open database file

报错信息 1
Exception: unable to open database file
unable to open database file
StackTrace:
   在 FreeSql.Internal.CommonProvider.AdoProvider.LoggerException(IObjectPool`1 pool, PrepareCommandResult pc, Exception ex, DateTime dt, StringBuilder logtxt, Boolean isThrowException)
   在 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms)
   在 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, DbParameter[] cmdParms)
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.<>c__DisplayClass18_0.<RawExecuteAffrows>b__0(StringBuilder sb)
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.ToSqlFetch(Action`1 fetch)
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.RawExecuteAffrows()
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.SplitExecuteAffrows(Int32 valuesLimit, Int32 parameterLimit)
   在 FreeSql.Sqlite.Curd.SqliteUpdate`1.ExecuteAffrows()
   在 FreeSql.DbSet`1.DbContextBatchUpdatePriv(EntityState[] ups, Boolean isLiveUpdate)
   在 FreeSql.DbSet`1.DbContextBatchUpdateNow(EntityState[] ups)
   在 lambda_method(Closure , Object , Object[] )
   在 FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__dbsetBatch|0(String method)
   在 FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__funcUpdate|3(Boolean isLiveUpdate)
   在 FreeSql.DbContext.FlushCommand()
   在 FreeSql.RepositoryDbContext.SaveChanges()
   在 FreeSql.BaseRepository`1.Update(TEntity entity)
   在 IntelliTools.Domain.Entities.TaskTimer`1.<>c__DisplayClass0_0.<.ctor>b__0(Object s, EventArgs e)
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 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)

SQLiteException: unable to open database file
unable to open database file
--ResultCode: CantOpen
--ErrorCode: 14
StackTrace:
   在 System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   在 System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   在 System.Data.SQLite.SQLiteDataReader.NextResult()
   在 System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   在 System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   在 System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
   在 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms)

版本:1.43.29 2024-09-30 20:14 Microsoft Windows NT 10.0.22631.0
报错信息 2
Exception: unable to open database file
unable to open database file
StackTrace:
   在 FreeSql.Internal.CommonProvider.AdoProvider.LoggerException(IObjectPool`1 pool, PrepareCommandResult pc, Exception ex, DateTime dt, StringBuilder logtxt, Boolean isThrowException)
   在 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms)
   在 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, DbParameter[] cmdParms)
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.<>c__DisplayClass18_0.<RawExecuteAffrows>b__0(StringBuilder sb)
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.ToSqlFetch(Action`1 fetch)
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.RawExecuteAffrows()
   在 FreeSql.Internal.CommonProvider.UpdateProvider`1.SplitExecuteAffrows(Int32 valuesLimit, Int32 parameterLimit)
   在 FreeSql.Sqlite.Curd.SqliteUpdate`1.ExecuteAffrows()
   在 FreeSql.DbSet`1.DbContextBatchUpdatePriv(EntityState[] ups, Boolean isLiveUpdate)
   在 FreeSql.DbSet`1.DbContextBatchUpdateNow(EntityState[] ups)
   在 lambda_method(Closure , Object , Object[] )
   在 FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__dbsetBatch|0(String method)
   在 FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__funcUpdate|3(Boolean isLiveUpdate)
   在 FreeSql.DbContext.FlushCommand()
   在 FreeSql.RepositoryDbContext.SaveChanges()
   在 FreeSql.BaseRepository`1.Update(TEntity entity)
   在 IntelliTools.Domain.Favorite.FavorItem.RepoUpdate()
   在 IntelliTools.Domain.Favorite.FavorItem.Execute(IntPtr owner)
   在 IntelliTools.View.Panel.PanelWindow.TheListBox_MouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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)

SQLiteException: unable to open database file
unable to open database file
--ResultCode: CantOpen
--ErrorCode: 14
StackTrace:
   在 System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   在 System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   在 System.Data.SQLite.SQLiteDataReader.NextResult()
   在 System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   在 System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   在 System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
   在 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms)

版本:1.43.29 2024-09-29 17:53 Microsoft Windows NT 10.0.19042.0