它出现在这里:
SyncAdapter notesSyncAdapter = notesBuilder.ToSyncAdapter();
((SqlParameter)notesSyncAdapter.SelectIncrementalInsertsCommand.Parameters["@sync_last_received_anchor"]).DbType = System.Data.DbType.Binary;
((SqlParameter)notesSyncAdapter.SelectIncrementalInsertsCommand.Parameters["@sync_new_received_anchor"]).DbType = System.Data.DbType.Binary;
用户在表、模式和数据库上都拥有所有权限。你有什么想法,为什么仍然会出现此异常?
更多细节: SQLiteConnectionStringBuilder builder = new SQLiteConnectionStringBuilder(); builder["Data source"] = "achernar"; builder["User ID"] = "sbbf974"; builder["Password"] = "whatever"; builder["Integrated Security"] = false; builder["Initial Catalog"] = "sticky";
SQLiteConnectionStringBuilder builder = new SQLiteConnectionStringBuilder(); // 1. 准备服务器数据库连接并将其附加到同步代理 builder["Data source"] = "achernar"; builder["User ID"] = "sbbf974"; builder["Password"] = "whatever"; builder["Integrated Security"] = false; builder["Initial Catalog"] = "sticky";
- user228137