Hello,
I have a problem using sql dacpac deployment using WebDeploy 3.6 and SQL server 2019.
(this infrastructure works without error using SQL 2012 server)
The infrastructure:
1; deployment server
Windows Server 2019 + IIS 10 + WebDeploy 3.6 installed
(installed prereq: DacFramework_18.2 x86 and x64; SQLSysClrTypes_15.0.2000.5; SQL Native Client 2012 11.4.7001)
2; SQL server
Windows Server 2019 + SQL 2019 Standard installed (windows authentication only)
The commend:
msdeploy.exe -verb:sync -source:dbDacFx="C:\Temp\WebDeploy\DacTest2012.dacpac" -dest:dbDacFx="Data Source=phadb;Integrated Security=True;Database=helloworldwd_test",computername="https://192.168.0.1:8172/msdeploy.axd?site=HelloWorldWD",userName="xxxxxx",password="xxxxx",authtype=basic -verbose -allowUntrusted
The error is:
Error Code: ERROR_EXECUTING_METHOD
More Information: Could not deploy package.
Unable to connect to target server 'phadb'. Please verify the connection information such as the server name, login credentials, and firewall rules for the target server.
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
On SQL side, I see this failed logon in the SQL logs.
When I grand permission to user "ANONYMOUS LOGON" the deploy successful.
Do you have any idea what was the problem?
BR,
Istvan