Exception:SQL logic error no such table: Profiles

报错信息

   在 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)
   在 Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader)
   在 Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command)
   在 Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)
   在 Quicker.Domain.Services.SQLDataMgr.SaveProfile(String profileId, String data, Boolean fromLocal, DateTime lastUpdateTimeUtc, Boolean isDeleted, Nullable`1 deleteTimeUtc)
   在 Quicker.Domain.Services.DataService.<>c__DisplayClass78_0.<SaveProfile>b__0()
   在 Quicker.Domain.Services.DataService.SaveProfile(ActionProfile profile)
   在 Quicker.Domain.Profiles.ProfileManager.SaveProfile(ActionProfile profile)
   在 Quicker.Domain.Services.ActionEditMgr.SetButtonAction(ActionProfile profile, Int32 row, Int32 col, ActionItem action, Boolean skipSave)
   在 Quicker.Domain.Services.ActionEditMgr.<InstallAction>d__26.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Quicker.Domain.Services.ActionEditMgr.<>c__DisplayClass45_0.<<CreateContextMenuForActionButton>b__16>d.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) 

解决方法

本地数据库文件损坏了,关闭quicker后删除quicker.db文件后重启quicker。

如果安装有everything软件,可以用everything软件搜索此文件。

对于Windows10操作系统,一般的存放位置为:C:\Users\用户名\AppData\Local\Quicker\data 文件夹。


相关信息
0 查看
2020-06-09 19:12
Quicker版本
版本 反馈次数