Quantcast
Channel: SQL Service Broker forum
Browsing all 461 articles
Browse latest View live

Service Broker freezes almost every night.

Hellow! I have got a main SQL Server with a database and many other SQL servers (~ 1500). From morning till evening it’s ok, but in the night Service Broker freezes. In this case...

View Article


The Service Broker endpoint is in disabled or stopped state.

We are getting the following error message continuously in SQL Server error log."The Service Broker endpoint is in disabled or stopped state."We have Always on Feature enabled on the SQL Server 2012...

View Article


Use sql notification for console application C#

I have developed ucma C# console application which sends IM  to users. Now I want to send IM if any new entry is added in the table So i want to use query notification .I have enabled service broker on...

View Article

Best Possible Approach : Service Broker or replication?

I have a business scenario. I have an application whose DB resides on SQL Server A. My application resides on SQL server B. Both SQL servers are on the same network. Server A has a table that is being...

View Article

Troubleshooting performance issues with service broker

We have an OLTP application that heavily uses service broker to perform many of the more common tasks.  One of our biggest (if not the biggest) clients we have is having an issue with service broker...

View Article


Deadlock Event Notifications

Hello,I've setup an Event Notification to fire into a Service Broker queue whenever a deadlock occurs in any database on my server. I then created a stored procedure that would be activated by the...

View Article

SQL error log filling rapidly

We are running Sql server 2005. This server has been running for over a year without any problems. There are no custom databases or scripts (Operations manager, WSUS, ACS databases)Recently the...

View Article

event notification conversations started

documentation says that when you establish a event notification 'a number of conversations' will be started to the service...is there some why to estimate how many conversations are going to be...

View Article


SqlDependency causing delays to UPDATE statements

I have a win forms application which uses SqlDependency to monitor an orders table for changes (ie when goods are shipped etc).  The SQL statement works fine but I am having trouble with other SQL...

View Article


Stored Procedure behaves differently when activation is on?!

Hi,I have got a simple stored procedure for testing purposes. When Activation is off and I run this sp myself it works correct, but when I set activation to on and send a message, the message is being...

View Article

SQLDependency (C#) w/custom queue name isn't working

Hello all,I've written an application that uses the .Net SQLDependency class as directed in the docs. It works fine when I let the default behavior create the SB service/queue automatically as...

View Article

help understanding usage of Service Broker

Hello,I am trying to learn/understand Service Broker and how it works and more importantly, what is the practical use of it? Just like anything else, I googled on this and I kind of got very basic...

View Article

Problem with the principal ##MS_PolicyEventProcessingLogin##

I'm trying to send broker messages beteween 2 sql instances on the same server.I slready succeeded to send and retrieve messages last week. Now I changed the XML validation of the message type...

View Article


Service broker - conversation handle not found messages in SQL Server error log

Many threads opened on this topic, none seem to have an answer for my problem so i am going to give it a try.. System : Windows Server 2012 SQL Server 2012 Enterprise edition Problem : We are using...

View Article

DML Statements audit

Hi Experts,how to audit DML statement through trace files.ThanksShashikalaShashikala

View Article


Service Broker: Procedure is not executed

Hi there. I have some troubles with SB. I created stored procedure and the all SB part, however the message appears in the queue but the procedure is executed only sometimes. It executed the first time...

View Article

what is best way to end a event notification

simple question here...if I want to keep an event service (and all its infrastructure - eg: queue, proc, etc...)...but it just want to 'turn it off'.is it better to disable the underlying queue or...

View Article


Backup DBs through Service Broker: succeeds in one database and fails in the...

I created a test system on my PC in order to backup databases asynchronously using Service Broker. the backup procedure is executed  through such a queue:CREATE QUEUE [dbo].[MyQueue] WITH STATUS=ON ,...

View Article

New attempt: Backup DBs through Service Broker

I hope its OK to open a new thread in order to do new attempt from scratch instead of the previous...

View Article

Conversation group id question

HII have an example ( see below ).I expect to have all messages sent using this code to have the same group id but they are all different. what I am doing wrong?Leonid.DECLARE @conversationHandle...

View Article
Browsing all 461 articles
Browse latest View live


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