Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Service Broker / November 2007

Tip: Looking for answers? Try searching our database.

Problem with Service Broker Queue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robin9876 - 13 Nov 2007 15:26 GMT
On a SQL Server 2005 (SP1) the following error is occurring.

The activated proc [dbo].[sp_sysmail_activate] running on queue
msdb.dbo.ExternalMailQueue output the following: 'The service queue
"ExternalMailQueue" is currently disabled.'The activated proc [dbo].
[sp_sysmail_activate] running on queue msdb.dbo.ExternalMailQueue
output the following: 'The service queue "ExternalMailQueue" is
currently disabled.'

How can I find out why this queue is disabled?

How do you restart a queue?
Tom Moreau - 14 Nov 2007 01:01 GMT
Try:

alter queue ExternalMailQueue
with status = on

Not sure if you'd be able to find out how it got turned off.  However, in
future, you could create a DDL trigger to trap when it occurs:

http://msdn2.microsoft.com/en-us/library/ms189871.aspx

Signature

  Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON   Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau

On a SQL Server 2005 (SP1) the following error is occurring.

The activated proc [dbo].[sp_sysmail_activate] running on queue
msdb.dbo.ExternalMailQueue output the following: 'The service queue
"ExternalMailQueue" is currently disabled.'The activated proc [dbo].
[sp_sysmail_activate] running on queue msdb.dbo.ExternalMailQueue
output the following: 'The service queue "ExternalMailQueue" is
currently disabled.'

How can I find out why this queue is disabled?

How do you restart a queue?
Remus Rusanu - 15 Nov 2007 04:04 GMT
Your queue is likely being disabled because it causes five RECEIVEs to be
rolled back and trigger the poison message protection, that disables the
queue. To understand why it is being disabled, best way is to manually run
the procedure (using EXEC) and watch out for error messages it produces.

> On a SQL Server 2005 (SP1) the following error is occurring.
>
[quoted text clipped - 8 lines]
>
> How do you restart a queue?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.