What is “DacInstance with the specified instance_i

2019-06-20 08:29发布

I'm trying to upgrade a remote SQL Server 2012 database using a dacpac, but I'm getting the following message: DacInstance with the specified instance_id does not exist. (Microsoft SQL Server, 36004). I tried to search on the internet but couldn't find anything. Any ideas?

enter image description here

2条回答
霸刀☆藐视天下
2楼-- · 2019-06-20 09:00

I just encountered this problem myself. I hunted through the User Mapping for my login, adding db_owner, db_securityadmin role memberships for all relevant databases. No help.

Specifically, it was necessary to add the "sysadmin" server role to the user. After doing this, my dacpacs were able to deploy successfully.

查看更多
时光不老,我们不散
3楼-- · 2019-06-20 09:13

I found that this is an permission issue. The user has to have administrative privileges to update the database using a dacpac.

查看更多
登录 后发表回答