CodeCloudy

Azure | .Net | JQuery | Javascript | Umbraco

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

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 comment »