Azure 碎片恢复管理
我尝试了在以下链接中找到的代码 但是,当我执行rm.ResolveMappingDifferences(g,mappingdifferencesolution.KeepShardMapping)时 我收到一个错误 Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll中发生类型为“Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardManagementException”的未处理异常 其他信息:存储错误:用户“TestShardAdmin”登录失败。。在“Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.StoreException”期间尝试执行基础存储操作时出错:执行存储操作时出错。有关详细信息,请参阅内部SqlException。-->System.Data.SqlClient.SqlException:用户“TestShardAdmin”登录失败 TestShardAdmin对shard db和shard Manager db具有db_所有者权限。同一用户用于检索特定碎片映射的RecoveryManager,这样做没有问题。我不确定问题出在哪里Azure 碎片恢复管理,azure,azure-sql-database,Azure,Azure Sql Database,我尝试了在以下链接中找到的代码 但是,当我执行rm.ResolveMappingDifferences(g,mappingdifferencesolution.KeepShardMapping)时 我收到一个错误 Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll中发生类型为“Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardManagementException”的未
关于仅为了验证,TestShardAdmin在shard map manager数据库上具有db_所有者权限?谢谢-是的,TestShardAdmin在shard map manager数据库上具有db_所有者权限