Service Broker and linked server stored procedures
Dear netters,I have a stored procedure LoadData that is responsible for loading data from one table to another. Procedure calls for logging of errors/instrumentation regardless of whether the load is...
View ArticleLog files full of service broker errors, but it works OK
We have a C# web application that is using SQL dependency to expire cached query data. Although everything is working okay we are seeing a lot of errors being generated particularly in our production...
View Articleservice broke message classification
Hello, I have a service broker application working on a set of servers. I can send message to and from several remote servers without a hitch, but attempting to create a testing environment on virtual...
View ArticleError 28069: Unexpected session key when encrypting a dialog message
We are using sql server 2008 R2 enterprise version. Our sql service broker is having the issue with the error 28069 ("Unexpected session key when encrypting a dialog message"). I tried to find the...
View ArticleDB mail not working SQL 2016
I have tried until I'm totally stumped! I can't seemed to get the DBMail to work on my SQL2016 server. When I look @ sysmail_log I see several emails but all of them are sent_status:0. I think I...
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 ArticleThe database generates the messages but it doesn't send them
Hi, I'm actually working with a DB from where I work and I need to get notified in my project when someone makes a change into one table of this DB. I had to enable the service broker because it was...
View ArticleAn entity of type service cannot be owned by a role, a group, or by...
I'm using SQL Server 2008 R2 and a WCF service in Visual Studio 2010. I am trying to set up a SQL Dependency to detect changes in the database, and I have set up a queue and service. I keep getting the...
View ArticleService Broker where Source DB is a different SQL Version than the Target DB
We are moving to SQL 2016 servers. Are there any known issues, other than not using features specific to the higher version of SQL Server whereby I should be concerned about configuring a "Source"...
View ArticleThe statement 'SEND' is not supported with natively compiled modules.
Hi allWe encountered the following errors while interacting with SSB from within native DML trigger: Msg 10794, Level 16, State 98, Procedure usp_My_Test, Line 20 The statement 'BEGIN DIALOG' is not...
View ArticleService broker generating orphaned sqlnotification procedures ,queues,services
I am new to service broker, I have implemented the process ,It is working fine, performing the intended task as expected but it is generating unwanted SqlQueryNotifications...
View ArticleService Broker messages expiration
Hi,We had plenty of messages in "sys.transmission_queue" on Source server while service broker had communication issues with destination server for couple months. Queue was cleaned up once...
View ArticleService Broker connecting to random server.
I have one route in sys.routes, it is a mirrored route SERVER A and SERVER B. problem i have is, when running profiler I see BROKER:CONNECTION Connection attempt failed with error: '10061(No...
View ArticleDatabase mail queue stays INACTIVE
HelloI tried for hours to get my notifications working, without success, on SQL Server 2008R2 Web Edition 64bI send mail with the test :USE msdbGOEXEC sp_send_dbmail...
View ArticleSQL DB Mail - Error While sending email. in sql 2012
HI,I am trying to send db mail from one of the server and end up with error. the same is shown below . Error Message :The mail could not be sent to the recipients because of the mail server failure....
View ArticleRECEIVE vs RECEIVE TOP(1)
In working through some examples, sometimes I will see this pattern for receiving messages: What is the purpose of the "nested" WAITFOR (RECEIVE? What is this actually doing? Is it receiving the same...
View ArticleRandom mail lost with Database mail and non-Microsoft SMTP servers
The following facts was tested and reproduced on 3 completely different environments and with SQL 2005, 2008, 2008R2, 2012 and 2016.When DB mail send email to Postfix(2.10.1 and 3.1.2) SMTP servers...
View ArticleSend Recive Data
I've been reviewing things I've found on the web for SQL sending and receiving data over SQL. I'm curious how that works. So does SQL broadcast the back to everyone or just a specific machine? Not sure...
View ArticleSQL 2014 Service Broker Issue
We are running a sql 2014 on windows 2012 r2 on aws. A remote c# service application connects to a database sitting on this server and performs messaging using service broker. After a long period of...
View Article