Wednesday, February 22, 2023

Database import failure from SANDBOX to DEV VM in D365FO

 Error: " Changes to connection setting default values were incorporated in a recent release. Error importing database: Could not import package."

Command:

SqlPackage.exe /a:import /sf:J:\MSSQL_BACKUP\AXDBSIT_19122022_backup.bacpac /tsn:localhost /tdn:AxDB_SIT_19122022 /p:CommandTimeout=1200

CauseConnection Security Improvements in SqlPackage 161 - Microsoft Community Hub 

Fix (Solution):

SqlPackage.exe /a:import /sf:J:\MSSQL_BACKUP\AXDBSIT_19122022_backup.bacpac /tsn:localhost /tdn:AxDB_SIT_19122022 /p:CommandTimeout=1200 /TargetEncryptConnection:False

No comments:

Post a Comment

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...