Exception:尝试读取或写入受保护的内存。这通常指示其他内存已损坏。尝试读取或写入受保护的内存。这通常指示其他内存已损坏。

报错信息

Exception
   在 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.Domain.Menu.MenuItemWrapper.InternalClick(Object sender, RoutedEventArgs args)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 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)

AccessViolationException
尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
   在 System.Data.SQLite.UnsafeNativeMethods.sqlite3_prepare_interop(IntPtr db, IntPtr pSql, Int32 nBytes, IntPtr& stmt, IntPtr& ptrRemain, Int32& nRemain)
   在 System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
   在 System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   在 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) 

解决方法

暂无解决方案。

相关信息
0 查看
2024-03-28 20:17
Quicker版本
版本 反馈次数