An error was encountered during the DB Restoration process from T2 to T1 in D365FO, specifically identified by SQL error codes SQL72014 and SQL7204
I have been attempting to restore the database from T2 to T1 since yesterday. However, I encountered an error during the restoration process.
"*** Error importing database:Could not import package.Error SQL72014: Core Microsoft SqlClient Data Provider: Msg 4630, Level 16, State 1, Line 1 The permission 'KILL DATABASE CONNECTION' is not supported in this version of SQL Server. Alternatively, use the server level 'ALTER ANY CONNECTION' permission.Error SQL72045: Script execution error. The executed script:GRANT KILL DATABASE CONNECTION TO [ms_db_configreader];"
Following my investigation, I have determined that the same resolution will be applied to address this issue. Please refer to the resolution provided below:
Additionally, the elements to be removed from the model.xml file are listed below:
领英推荐
<Element Type="SqlPermissionStatement" Name="[Grant.KillDatabaseConnection.Database].[ms_db_configreader].[dbo]">
<Property Name="Permission" Value="1114" />
<Relationship Name="Grantee">
<Entry>
<References Name="[ms_db_configreader]" />
</Entry>
</Relationship>
<Relationship Name="SecuredObject">
<Entry>
<References Disambiguator="1" />
</Entry>
</Relationship>
</Element>
<Element Type="SqlPermissionStatement" Name="[Grant.KillDatabaseConnection.Database].[ms_db_configwriter].[dbo]">
<Property Name="Permission" Value="1114" />
<Relationship Name="Grantee">
<Entry>
<References Name="[ms_db_configwriter]" />
</Entry>
</Relationship>
<Relationship Name="SecuredObject">
<Entry>
<References Disambiguator="1" />
</Entry>
</Relationship>
</Element>
Furthermore, I have identified a simpler step than the one mentioned above, outlined below:
This issue has been acknowledged by Microsoft, and the Product Group is actively working on resolving it.
Please refer to this thread for visual guidance as well.
Infrastructure Engineer Consultant specializing in Dynamics 365 ERP at AlfaPeople
10 个月???? ???? ?? ??? ?????