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

Performance In Simple Scenarios

I have done some performance testing to see if asynchronous triggers performs any better than synchronous triggers in a simple audit scenario -- capturing record snapshots at insert, update and delete...

View Article


An error occurred while receiving data: '10054(error not found)'.???

 Hi, I have set up SB between 2 databases, and I keep geting a variety of error messages in the queue on both sides. The first is: An error occurred while receiving data: '10054(error not found)'. And...

View Article


ContextSwitchDeadlock was detected

HiI am getting below error on a long running query crashing the app, even though I am running the query as background task;ContextSwitchDeadlock was detected Message: The CLR has been unable to...

View Article

Configuring Service Broker between SQL Server 2008 and 2012 on Intranet

Hello, I would need help in configuring Service broker. As both servers are on the intranet, I wanted to remain the most simple so I used no certificates and allowed anonymous access but still, using...

View Article

Call procedure after some time

I would like to execute stored procedure after some time from now. So, i have created queue and service:CREATE QUEUE [dbo].[StartSAQueue] WITH STATUS = ON , RETENTION = OFF , ACTIVATION ( STATUS = ON ,...

View Article


Internal Activation Stored Procedure Firing When Target OR Initiator Queues...

I've come across a strange behaviour in T-SQL script I have written and which I can recreate with the Service Broker Tutorial athttp://technet.microsoft.com/en-us/library/cc281528(v=sql.105).aspx where...

View Article

Get the last but one value

I would like to get the last row from every order and the quantity of the last row but one:SELECT o.order_id, o.order_user, o.Q, Q_before=(SELECT TOP 1 Q FROM dbo.orders WHERE order_id=o.order_id AND...

View Article

Service Broker External Activation and SSIS Execution

I have successfully set up external activation in service broker to execute an ssis package. My issue is that I currently can only execute the ssis package once.On dropping the first message the...

View Article


How to clear messages in a queue which has retention = ON without ending...

I'm using Event Notification in SQL Server 2008 R2.    I'm trying to clear messages in a queue which has retention = ON without ending conversation.  For testing purpose, I have tried to clear messages...

View Article


How to delete Service and Queue?

I am completely new to Service Broker. I got introduced to it indirectly when learning SQL Server Cache Dependency for ASP.NET data caching.  When running a code sample a Service and Queue were created...

View Article

Trigger sends message to queue when record changes - how to avoid duplicate...

Hello, I have a table trigger that sends a message to a service broker queue when a record is updated.  The queue kicks off a stored procedure that then schedules a run of an SSIS package that then...

View Article

High Number of Tasks Aborted/Sec?

Hello,I recently setup Service Broker - Internal Activation. I ran built-in SSMS "Service Broker Statistics" reports and saw this;Store Procedures Invoked/sec : 184Tasks Aborted/sec :184Tasks Running:...

View Article

Database 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 Article


BEGIN CONVERSATION TIMER

I'm using a timer to call the procedure after 15 minutes.DECLARE @DialogHandle UNIQUEIDENTIFIER; BEGIN dialog CONVERSATION @DialogHandle FROM SERVICE [myService] TO SERVICE N'myService', 'current...

View Article

Jim is an OPD executive at the hospital and is responsible for referring...

Please give me any suggestions of my question

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 is nor working between two server instances

Hi, I have configured 2 SQL instances to exchange messages with service broker. I used certificate authentication and no encryption. Then SP is executed to send a message on Source server I see:1....

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>