你的位置:
ww12345678 的部落格 | AX Helper > 网络文摘 > 修复在导入 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
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
上一篇 D365: 如何在 X++ 中设置表单控件值/D365: How to set form control value in X++
10.0.39 中的管理员调配工具在哪里?/Where is admin Provisioning tool in 10.0.39. vm 下一篇