Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Call to sp_configure from DACPAC pre-deployment script doesn't work

$
0
0

Hi,

I'm trying to deploy a contained database on SQLServer 2012 using a DACPAC. In my pre deployment script I run the following script to prepare the server instance.

sp_configure 'contained database authentication', 1;
GO
RECONFIGURE;
GO

But during deployment I get the following error, suggesting that this script wasn't executed at all.

The sp_configure value 'contained database authentication' must be set to 1 in order to alter a contained database.  You may need to use RECONFIGURE to set the value_in_use.

Thanks in advance for Your help.

Hazle



Viewing all articles
Browse latest Browse all 8428

Trending Articles