CodeCloudy

Azure | .Net | JQuery | Javascript | Umbraco

Error SQL71564 – When Exporting your Database to Azure (bacpac)

on January 4, 2013

When you use the Export Data-tier feature to create a backup of you database in order to upload it to windows azure you might get this error

Error SQL71564 –

The database principal owns a schema in the database, and cannot be dropped

Solution: to drop the user.

Sql Script to remove the schema from the user:

   ALTER AUTHORIZATION ON SCHEMA::db_owner TO db_owner

you can specify the required schema instead of db_owner

Done!

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: