Reputation: 178
I am not able to deploy a dacpac to SQL Server 2016. There is no issue with username and password.
Error says 'Could not deploy package. Unable to connect to master or target server 'xxxx'. You must have a user with the same password in master or target server 'xxxx'.
SQL server version is shown below.
Visual studio Version - 2015 Community Version. Visual Studio SSDT Version - 14.X
Please help, thanks in advance.
Upvotes: 1
Views: 3854
Reputation: 1803
Make sure your SSDT version (SQLPackage.exe) at least that high of a version as your SQL Server.
Upvotes: 1
Reputation: 509
Double check your .dacpac publish profile (xml). Ensure there is no information conflicting between what you are passing in as the username, password, connection string, etc. at runtime and what is in the xml file.
Upvotes: 0