Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

Use Broker with SQL Server AlwaysOn

$
0
0

Hello,

I have a SQL Server 2016 standard editon with AlwaysOn  setup.
I was asked to enable the broker. In order to do that I had to remove the database from AlwaysOn AG group , enable the broker and add the database back to AG group.
ALTER DATABASE [NameOftheDatabase] SET NEW_BROKER WITH ROLLBACK IMMEDIATE;

After the broker was enabled I start getting the following errors :

The query notification dialog on conversation handle '{40DD07AB-2EC3-E811-A2D4-005056981582}.' closed due to the following error: '<?xml version="1.0"?><Error xmlns="http://schemas.microsoft.com/SQL/ServiceBroker/Error"><Code>-8470</Code><Description>Remote service has been dropped.</Description></Error>'.

Service Broker needs to access the master key in the database 'database name'. Error code:32. The master key has to exist and the service master key encryption is required.

Error: 28054, Severity: 11, State: 1.


I found the following workaround:

disabling the dialog security (using encryption = off) or create a master key.

Or

ALTER DATABASE YouDatabaseName SET TRUSTWORTHY ON

I would like to know if this will affect my AlwaysOn setup and if is going to stop the errors.

Thank you.


Viewing all articles
Browse latest Browse all 461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>