Closed lucasrueda closed 11 months ago
I suggest you just install the global tool Microsoft.Sqlpackage and then use the full fledged sqlpackage command
Thanks for your response @ErikEJ Just to let you know, the database I was targeting was running SQL Server 2008 R1.
I needed to downgrade the SSL threshold as mentioned here: Microsoft.Data.SqlClient.SqlException
But even with that change, I couldn't deploy successfully because SqlClient needs SQLServer 2008 R3.. so.. never mind.
I run the following:
It fails showing:
The link provided talks about certificates in the connection
When I run the deploy from Visual Studio 2022, it works. The connection string looks like this:
As you can see, the last option is
TrustServerCertificate
set toFalse
;So,
Encrypt=False
seems to be not enough