最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

修复在导入 D365FO .bacpac 时 “此版本的 SQL Server 不支持‘KILL DATABASE CONNECTION’权限 ”的问题 (10.0.39)/Fix “The permission ‘KILL DATABASE CONNECTION’ is not supported in this version of SQL Server” while importing a D365FO .bacpac (10.0.39

网络文摘 alirazazaidi 507浏览 0评论
  • Kill database issue in database restore
    • Download two set of .backpac or move one copy into you vm.
    • change the extension of .backpac to zip.
    • Extract it or if you dont have space just open it in Zip or winrar.
    • Copy only model.xml in your local hard drive.
    • Open it in notepad++
    • Search and remove all nodes Grant.KillDatabaseConnection.Database
    • Save the xml file.
    • Delete the extracted zip file.
    • Copy the extracted and modified model.xml into same folder where you place the .backpac in your vm Hard drive.
    • Apply the same command with additional key words /ModelFilePath (/mfp)
    • mfp means file path model.
    • The complete file will be look like
    • SqlPackage.exe /a:import /sf:c:\\temp\\BabaKaTullo.bacpac /tsn:localhost /tdn:axdb5 /p:CommandTimeout=500000 /ttsc:True /ModelFilePath:G:\\Temp\\model.xml
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址