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

Are error messages created somewhere when an event_notifications are...

Newbie question: We discovered that we had a value in sys.event_notifications.broker_instance that did not correspond to the value of sys.databases.service_broker_guid for any existing database. We...

View Article


Service Broker causes SqlExceptions

Hello, I have used sql server service borker notification service and queue for my .Net application (windows service) to get query notification when any update in query(table). in application i have...

View Article


SqlDependency OnChange Event Fires repeatedly

I am using the SqlDependency to notify me of data changes in a table. However, as soon as I start it, the OnChange event fires over and over even though no data has changed. Essentially All I want to...

View Article

Message only arrives on queue once.

Hi,I am new to SQL Service Broker and am currently trying to develop a POC. I need to call a web service when a insert is made on a table. I have setup 3 queues and 3 services with associated message...

View Article

SQL Server 2008 R2 service broker implementation

Hi, We are using a SQL Server 2008 R2 database to support an e-commerce application which is written in C#. I am pretty new to the concept of service broker.Could you please help me understand what...

View Article


Image may be NSFW.
Clik here to view.

"Broker / DBM Transport:Receive I/O Bytes Total" counter is missing.

HiI noticed that "Receive I/O Bytes Total" and "Send I/O Bytes Total" counters are missing under "Broker / DBM Transport" object.However, documentation says it should be there,...

View Article

Clearing all messages from a service broker queue

Hi All,Iam currently trying to remove the messages from the queue if the count is more than 15000 as shown below in the stored procedure :      Declare @CountMBSClientStatusSendQueue BIGINT      SELECT...

View Article

Log shipping failed when cluster failed over to second node

i have a clustered environment with node 1 and node 2node one is active node and up 99 % of the time so while it was on node one i setup log shipping for this server.while configuring the log shipping...

View Article


Issue with SQLDependency along with Enity Framework and C#

Hi All,I am trying to run a sample created using C# for SQL dependency. Whenever certain data is inserted in given table, I want a notification in my C# application. Right now, I am having both (my C#...

View Article


Unable to enable service broker

Dear all,I tried to create DBMail in one of our prod server, i did the following operation at start getting error. Kindly help me how to avoid this problemalter database msdb set enable_broker with...

View Article

Best practice for cleaning up conversations after a recieve timeout

We have a pattern where sql server sends a message through service broker and waits for a response (say 10 ten secs), if it doesn't get a response, it will assume a default response and carry on. The...

View Article

When to use WAITFOR?

Hi all,I'm in doubt whether to use WAITFOR RECEIVE in my activation SP or not.Actually I'm confused if WAITFOR is necessary in case I have activation SP or just RECEIVE is enough inside it.Any help...

View Article

Determine if Notifications Firing

I am now to Service Broker and SQL Notifications and am working on an application that needs SQL Notification. I am having problems with the application working intermittently depending on the...

View Article


Service Broker Messages

Hi,I've the below messages appearing in the sql error logs plenty of times. No idea what's the problem. Any insight ?spid25s The query notification dialog on conversation handle...

View Article

Event Notifications: insufficient system memory

I'm looking for a sanity check.  Service broker and Event Notifications are new to me, so it is possible I'm either abusing or incorrectly using the technology.  I'm experimenting with using Event...

View Article


Where is the query notification coming from?

When I execute a stored procedure and look at the execution plan, I see some "clustered index scans" where I'm not expecting them ... and they appear to be coming from "query_notification" objects.Is...

View Article

Need help to figure out this SqlQueryNotificationService error.

I found every several minutes, sometimes one or twice in an hour, I still get a dozen error like below logged in SQL Log.  See the error is "You do not have permission to access the service". I found...

View Article


service broker queue size

Hi All,One of my client/customer is asking us to set up SERVICE BROKER QUEUE SIZE job, is the customer really intend about creating job for  SERVICE BROKER QUEUE SIZE, if so how to create job for this?

View Article

Unable to reach Target Service issues after receiving message

Hello everyone,I am working on a demo for my devs/dba at work regarding the use of service broker, why we should start using it, and other fun facts that just go above initial implementation.  Part of...

View Article

Failed to verify Authenticode signature on DLL msxmlsql.dll

Hello, I got this error message. The server is experiencing issue of service broker suddenly stopping, so we are ruling out all errors at this point. Server is setup with HADR.Win Server 2008 R2 Ent...

View Article
Browsing all 461 articles
Browse latest View live


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