Troubleshooting error : "The conversation handle "XYZ" is not found"
We have a stored proc that generates service broker messages that are later processed / stored for long term via an activation stored proc.Occasionally, we see the following error when the message...
View ArticleSql deadlock errors / sys.sysdercv
Every now and then we see sql deadlock errors in our activation sp. Specifically, the race condition happens on FOTNAudit.sys.sysdercv. What is sys.sysdercv table used for and how do you prevent...
View ArticleHow to call Sales Force WSDL from Stored Procedure in SQL server
How to call Sales Force WSDL from Stored Procedure in SQL server
View ArticleCan I use the Listener name with Always on and Event Notification from a...
I have a question about External Activation and AlwayOn Service broker databases.I have ListenerSSBS-1 (Primary) SSBS-2 I send messages to the Listener which cause Event Notification from the Primary....
View ArticleEmail error within Trigger fails with 2 or more triggers attempting to send mail
SQL Server 2014 64 bitIssue: Triggers in replicated SQL Server 2014 database (Replicating data from Oracle to SQL Server) fail with message "The mail could not be sent to the recipients because of the...
View Articleintermittent service broker send blocking issue
We have noticed that we occasionally see long running blocking issues when sending concurrent service broker messages via SP. The blocking was traced back to the following system object :...
View Articletransmission_queue / Classification has been delayed because the routing...
We have appx 8 messages stuck in the service broker transmission queue with a status of 'Classification has been delayed because the routing information is currently being updated.' What causes this...
View ArticleSQL Server Agent Job Custom Notifications
Is there a good way to customize sql agent notifications. Not a fan of email or pager notifications. More specifically, we use service broker and hipchat alot. Would be nice if Service Broker could...
View ArticleThis message was dropped because it could not be dispatched on time
Recently. my service broker audit system is displaying the following messages in Profiler "This message was dropped because it could not be dispatched on time.'. My understanding is that this...
View ArticleHelp on Service Broker
Need quick help on service broker. My team will be using service broker for an application and I need to showcase a POC/example or How service broker works in SQL server. Can someone guide where to...
View ArticleBusiness Usage of Service Broker in SQL server
what are the business usage of SB in sql server?
View Articleerror when calling SSIS package from internal activation procedure via...
Hi application gets an error when SSIS pkg is being executed via procedure which is activated via Service Broker queue.Application is sending a message to a queue which activates or trigger procedure...
View ArticleLarge Number of entries in msdb.sys.conversation_endpoints for...
Hello. This is my first time asking a question so apologies if I miss some details/protocol.My question is twofold.1: I have a large number of entries (200K+) within msdb.sys.conversation_endpoints for...
View ArticleSql server reboots after errors
I have Microsoft SQL Server 2016 Periodically, about every day reboots Sql Server, in the error log the following errors: 2017-01-21 07:11:17.07 spid16s FlushCache: cleaned up 21021 bufs with 11707...
View ArticleService broker intermitent problems with remote db
I am having an intermitent problem with service broker where the intiator's sys.transmission queue will fill up with outbound messages. I've looked at the transmission queue message status and it is...
View ArticleTransaction Count Oddity Within Activated Sprocs
Hello.As I have been going through various scenarios in preparation of my code, I noticed that if I send a message to a queue with activation, the transaction count inside the sproc, before any code is...
View ArticleSQL Server Service Broker not woking
Dear All,I've created one table and SP need to execute to insert the getdate using service broker.first time it'e working after that Service broker not working in my code. Server broker and trustworthy...
View ArticleService Broker Messsage Counts Misleading?
We have set up basic SQL Service Broker queues and are monitoring activity and we are finding it difficult to understand the messaging count activity.EventsReceiveQueue receives messages from a source...
View ArticleService Broker External Activator Service in Stopping State
SQL 2016 SP1 CU7 Enterprise, running on a fully-patched Windows Server 2016 VM hosted in Azure. We have been using Service Broker and the External Activator service for years, mostly without incident....
View ArticleSqlDependency.OnChange fires with Sql statement but not calling a stored...
Hi all,I don't understand why SqlDependency fires changes on DataBase if I specify a Sql stamente in the SqlCommand, but not if I specify a stored procedure.My code:CacheItemPolicy _policy = new...
View Article