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

Error queuing message - Cannot execute as the database principal because the...

CREATE QUEUE dbo.MyAuditQueue WITH STATUS=ON ,ACTIVATION ( STATUS = OFF ,MAX_QUEUE_READERS = 1 ,PROCEDURE_NAME = [MyAuditMessageDequeue] ,EXECUTE AS OWNER )Created a new service broker queue and tried...

View Article


Error With Service Broker

Good Morning ForumThis morning the SQL Server logs had the following message 775 times: -Service Broker needs to access the master key in the database 'DATABASE NAME'. Error code:26. The master key has...

View Article


Communication Error

We have below error which made website down, A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer...

View Article

Select The Name, Date created and Message Count for all Service Broker Queues

Hello ForumIs the a TSQL Statement that can select this data?  I'm currently collating all the stats for Service Broker, but in just one database I have over 70 Queues.Please click "Mark As Answer" if...

View Article

SQL Server Agent Job Custom Notifications

Is there a good way to customize sql agent notifications.  Not a fan of email or pager notifications.  More specifically, we use service broker and hipchat alot.  Would be nice if Service Broker could...

View Article


Cannot start SQL Server Service Broker on Database Could not start Service...

Dear Team,I am getting below error in event logCannot start SQL Server Service Broker on Database Could not start Service Broker for database id: 13could you please help me to understand what does the...

View Article

queue processing metrics

Does Service Broker provide any metrics or dmv's to monitor the average time of a message in a queue?sql 2014

View Article

TSF 2015 configuration error

Hi,I began configuring TFS 2015 and the SQL Server database(s), and ran into this error below1 error(s) occurred while executing WorkItemTrackingCreateFullTExtIndex.sql script.Failed batch starts on...

View Article


TFS 2015 configuration error

Hi,I began configuring TFS 2015 and the SQL Server database(s), and ran into this error below1 error(s) occurred while executing WorkItemTrackingCreateFullTExtIndex.sql script.Failed batch starts on...

View Article


Service broker error handling / transaction rollback

We have a service broker activation sp for an auditing service that we are in the process of testing. Our QA purposefully en-queued a message with a bad XML element so it fails during the XML parsing...

View Article

Subscribing to BROKER_QUEUE_DISABLED for entire server?

Is it possible to subscribe to BROKER_QUEUE_DISABLED for all queues on the server regardless of database?  If so, what is the correct TSQL syntax for the registration command?I tried this but received...

View Article

Frequent service broker logon errors

I am seeing this error every few minutes in sql error log [i]04/20/2016 17:06:01,Logon,Unknown,Service Broker login attempt by user 'domain\serviceuser.' failed with error: 'A previously existing...

View Article

MAX_QUEUE_READERS and Activated Procedures

If I set MAX_QUEUE_READERS =1 for a given queue, am I guaranteed to only ever have one instance of the associated activated stored procedure running at any time? I've run into an issue where it appears...

View Article


SqlDependency.Stop method does not cancel the notification subscription in...

On a .NET web app, we are using ChangeMonitor to update caches on data change at SQL Server 2012 database. And change monitor relies onSqlDependency.When you call the SqlDependency.Stop method, the...

View Article

Problems with sending Event Notifications to remote service

Hi! Just set up my first Service Broker test. Wanted to send an Event Notification from one instance to another. Finally, the message arrives but profiler shows that the message is still being...

View Article


Event Notification Configuration for a Remote Server

Hi, I am trying to configure Event Notification in such a way that all the Notification will be sent to a centralized server. Thus if any one can share the script to create the Event Notification for...

View Article

Required permissions for sending a message from service A to service B?

We have a windows service running as an AD user invoking an SP to send a message from service A to service B.If I run the sp, it works fine.  If the service user runs the sp, the sp blows up with this...

View Article


External Activator Connected to Availiability Group Listener

I am having a problem getting the Service Broker External Activator (SBEA) working when pointed to an Availability Group Listener.  If I point SBEA directly to the primary replica then it functions...

View Article

Image may be NSFW.
Clik here to view.

Service Broker + AAG(Synchronous) + Listener

Hi everyone! I've make a test environment with 3 servers:"Comp2" and "Comp3" servers host AlwaysOn Availability Group with Listener in Synchrounos Mode. "Comp2" - primary replica, "Comp3" - secondary...

View Article

Connecting to the Always On Listener

Hello,We have a listener configured for our 2012 AlwaysOn configuration.  We also have a service broker process (SQL 2012) that connects to the listener to add data to the AlwaysOn instance. If we use...

View Article
Browsing all 461 articles
Browse latest View live


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