You may first notice this because Database Mail gives you an error message about the Service Broker not being enabled in the MSDB database.
For example:
"...Either Service Broker is disabled in msdb, or msdb failed to start. ... Bring msdb online, or enable Service Broker."
Clicking OK to this prompt will cause SQL Server Management Studio to hang or freeze up. You need to do this in a T-SQL script.
Similarly,
ALTER DATABASE MSDB SET ENABLE_BROKER
will never complete.
It may be necessary to run
ALTER DATABASE MSDB SET NEW_BROKER WITH ROLLBACK IMMEDIATE
to reset the service broker's unique ID on MSDB and then
ALTER DATABASE MSDB SET ENABLE_BROKER
will complete successfully.
2 comments:
Perfect, thx.
Thank you so much, it has fixed my issue with the Service Broker ID after a rebuild of the server.
Post a Comment