SQL Server – Msg 1468, Level 16, State 1, Line 1

ERROR

 

Msg 1468, Level 16, State 1, Line 1

The operation cannot be performed on database "DBName" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group.

Msg 5069, Level 16, State 1, Line 1

ALTER DATABASE statement failed.

 

 

Below are the steps I did to resolve the error.

 

  • Remove DBName from AAG

  • Enable Service Broker

ALTER​​ DATABASE​​ DBName​​ SET​​ ENABLE_BROKER;

 

  • Verify Service Broker Enabled

SELECT​​ is_broker_enabled​​ FROM​​ sys.databases​​ WHERE​​ name​​ =​​ 'DBName';

 

  • Add DBName to AAG

 

 

 

 

ue]

Knowledge worth sharing...Share on linkedin
Linkedin
Share on facebook
Facebook
Share on google
Google
Share on twitter
Twitter
Bookmark the permalink.

Leave a Reply

2 Comments

  1. There’s certainly a lot to find out about this subject.

    I love all the points you’ve made.

Leave a Reply

Your email address will not be published. Required fields are marked *