The query notification subscription message is invalid
Hi!I have some code that uses System.Web.Caching.Cache object to cache some data and invalidate them automatically using SqlDepenency. The command related with the SqlDependency is a simple select...
View ArticleCould not obtain information about Windows NT group/user .......error code...
== I asked this question directly to Remus and wanted to share the response to all of those people using this forum ==We recently moved our database server from SQL Server 2000 to SQL Server 2005. All...
View ArticleSqlDependency for lookup caches, mirroring, and performing an online rebuild...
We use SqlDependency to cache some lookup tables to our IIS servers, and have database mirroring configured as well. Just recently when I went to do an online rebuild of a few indexes to change the...
View ArticleService broker stopped working
Hi, I'm new to Service Broker. Our existing Service Broker suddenly stops working and I can't figure out why. When I try to enable Service Broker (which is already enabled) I get this in SQL error...
View ArticleDisabling Service Broker.
I have two service broker applications on one instance of database. One sends/recieve messages locally and other one sends/recieve messages to remote server. I wanted to disable the Remote service...
View ArticleHow to restart Service Broker without recreating the objects
I have a system I created on 2008 R2 which is using Service Broker to execute a specific procedure unsynchronously: 1. The user executes Procedure A with a parameter, 2. Procedure A begins a Dialog and...
View ArticleSB floods with query notifications
I'm working on a super simple C# SQLDependency app which seems to work fine on a test DB I created with a very simple implementation. I enable Service Broker on the DB, and register a few queries with...
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 ArticleSQLDependency (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 Articletransmission_status contains weird characters, Broker is frozen
Hi,We recently faced the following problematic situation since we switched on brand new 64 cores / 500GB servers:- Service broker frozen for all local activites - Service broker for external servers...
View ArticleQueue is empty
I have created queue and service, but when i start timet to send message in queue, it is empty. Why? What could be wrong?CREATE PROCEDURE dbo.myProcedureASRETURN 'test'CREATE QUEUE [dbo].[myQueue] WITH...
View ArticleSqlDependency class throws "The given key was not present in the dictionary."...
Today I ran into an issue when using the .Net SqlDependency class when calling SqlDependency.Start(connectionName, queueName). The class would throw the exception "KeyNotFound" - "The given key was not...
View ArticleAn error occurred in Service Broker internal activation while trying to scan...
After Migrating our Production database from sql 2008 to Sql 2012 SPI, our service broker queues are showing errors in the event logs. Prior to the upgrade we were not seeing any errors. We can...
View ArticleSQL Service Broker activated proc writes all print messages into SQL Error...
If any print message exists in a Service Broker activated proc, it generates a message (9724) : like The activated proc '[dbo].[reply_proc]' running on queue 'test.dbo.InitiatorQueue1DB' output the...
View ArticleSQLQueryNotificationStoredProcedure exception filling up the log
I'm seeing this exception over and over again for different users (exceptions seen via SQL Profiler). Any idea/clues as to where these are coming from and why? ExceptionThere is already an object...
View ArticleAn error occurred in Service Broker internal activation while trying to scan...
Hello!We recently upgraded some of our servers from SQL Server 2008 R2 to SQL Server 2012. Since that point, I have noticed the following error repeatedly in the error logs:Date 6/7/2013 10:22:09 AM...
View ArticleSQLQueryNotificationService-GUID running on queue...
I have gone through many threads which advocate the above problem is may be due to insufficient privliges OR a falsy setup of broker service.I have checked the articles which present solution i.e...
View ArticleMessage in transmission_queue with error although security context is right
Hi,I'm testing the dialog sample from "TSQL Programming" book, sending a message from one db to a target that is on a different db in the same instance. As expected, the transmission_queue shows the...
View ArticleExternal Activator not launching Application
HelloI am setup an External Activator solution . I think I got everything as it should be, but the application is just not launching on the QUEUE_ACTIVATION eventExternal Activator service start...
View ArticleError using RECEIVE with xml
I have a Stored procedure that acts upon a queue with the following code:DECLARE @message_body as XML, @MessageTypeName as varchar(256), @ConversationHandle as UniqueIdentifierWAITFOR (RECEIVE TOP (1)...
View Article