SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Service Broker (is broke)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kappa02
Yak Posting Veteran

58 Posts

Posted - 03/28/2013 :  16:10:49  Show Profile  Reply with Quote
I have a job which uses sp_send_dbmail, it's been running fine now it's giving an error message: "Msg 14650, Level 16, State 1, Procedure sp_send_dbmail, Line 69 Service Broker message delivery is not enabled in this database."

When looking at sys.databases I see that "is_broker_enable" is set to 1 for that database. What can one do to fix this, I do recall on of the administrators doing a restore to MSDB, I'm sure that was the cause but what can be done to fix the job. run this: ALTER DATABASE db_name SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000