Recent update: 2008-3-21

WCF Transport Channel for Service Broker

243 byte By PhilJames at 2008-3-7
I saw a posting or read a blog somewhere that mentioned custom WCF transport channels where created for interacting with ServiceBroker. Has anyone read or heard something similar? If so, where can I get them? Thanks. Phil

Internal Activation - calls stored procs in other DBs

814 byte By IanWallace at 2008-3-6
Hi all I am using internal activation on a queue to process the messages, should an error be encountered I call stored procedure A in the same database to log the error. Part of the processing in stored procedure A is a call to stored procedure B in another database (on the same server), ...

Broker:Corrupted message

726 byte By svega at 2008-3-5
Hello, Has anyone seen this in profiler? I have two brokers on different servers with one of them being the initiator. All messages end up sitting in the initiator's transmission queue. Profiler on the target broker's machine displays this for every attempt to send by the initiator: A corrupt ...

Can service broker process a email message

216 byte By Saht at 2008-3-3
How do you set up the service broker to process an email message, and how do you format that message and send it to the que. Can the service broker alos process an html form from a que. Thanks

Designing SSB queues, EA sample and unreliable interdependant NTFS tasks

4740 byte By Vikh at 2008-3-1
Our current project involved into managing NTFS hierarchical folders structured by multi-level customers and associated projects for them. Essentially each folder level represents one level of customer hierarchy or project root. Both have different subfolders and user access rights for them ...

Can't Route to another LOCAL Broker Instance

1712 byte By lancasm at 2008-2-28
I have two databases (A and B )on the same SQL Server instance. Both have SSB enabled and running fine within themselves. All athorizations are at present set to dbo. Recently I had a requirement to start a dialog and send a message from within data base A to a queue via a service that is in ...

Move conversation

531 byte By WilliamBushman at 2008-2-27
when you move a conversation to a conversation group, that conversation_group has to have been created previously, ie, you cant specify a non-existing conversation_group, right? I ask because I am trying to develop an application where I use optimally one conversation related to many given ...

locking semantics on sys.transmission_queue

341 byte By WilliamBushman at 2008-2-26
Are lock hints propagated to the underlying tables of system catolog views? I ask because I often query sys.transmission_queue with nolock, and I wanted to know if this was honoured through out the underlying tables. Secondly, is sys.transmission_queue indexed at all, providing a way to ...

Consuming Multiple Messages In Parallel from Multiple Windows Services

135 byte By proof at 2008-2-25
Hi Remus What if I need multiple clients to read (RECEIVE) the same message? Would it be possible? Thanks

Sending one message to multiple consumers

135 byte By proof at 2008-2-24
Hi Remus What if I need multiple clients to read (RECEIVE) the same message? Would it be possible? Thanks

service broker message on remote instance not working

1457 byte By pranka at 2008-2-23
I was trying to send a message on a different instance in the network using service broker. I have created the endpoint and route both the side. I could see that the messages are in the transmission_queue in the sender side with no error in the status. What could be the reason. I am doing the ...

Consuming Multiple Messages In Parallel from Multiple Windows Services

990 byte By LubomirNikolov at 2008-2-22
Hello All,After hitting limitations in the SQL CLR world that bar us from invoking COM objects we are forced to use windows services to read the messages off the Service Broker Queues.Unfortunately we loose the auto activation feature in the Queues, but we can still read messages and perform ...

Where can I find the infamous Microsoft.SQLServer.Broker download?

113 byte By ScottLock at 2008-2-22
I've been trying to find examples on how to work with the broker using ADO.Net and haven't found much.

matching inbound and outbound messages

1467 byte By WilliamBoatin at 2008-2-21
When you begin a dialog, you do so between source and target. A conversation is begun on both source and target, and messages flow between the two. What would cause messages to build up on the source in sys.transmission_queue and not get transmitted to the target, with no error in the ...

Transmission Queue problem

6169 byte By Yosi345 at 2008-2-20
" noWrap width="1%" bgColor=#b71c0c>1. Yosi 29 Temmuz 12:19 se?enekleri g?ster G?nderen: "Yosi" <yus...@bizitek.com> - Bu yazar?n yazd??? mesajlar? bul Tarih: Fri, 29 Jul 2005 02:19:00 -0700 Konu: Service Broker Cevapla | Yazara Cevap Ver | ?let | Yazd?r | Sadece Mesaj | ...

"certificate not found" for second receiver

14420 byte By AmitKapoor at 2008-2-20
I am trying to test load balancing between multiple broker service instances. I have set up one sender and two receivers. When I tried sending a lot of messages from the sender, I noticed that all messages were being received by receiver 1 alone. While I am able to communicate between sender ...

Poison Message Sample in BOL

378 byte By LubomirNikolov at 2008-2-20
Hello Remus,I have implemented Event Notification sample you provided in my logic, but I am perplexed that even though my watched queue does go down, I do not get message in the Event_Collector queue all the time. The Event_Collector queue does stay enabled though. Any thoughts? I guess any ...

Event Notification disapears from sys.event_notifications

378 byte By LubomirNikolov at 2008-2-19
Hello Remus,I have implemented Event Notification sample you provided in my logic, but I am perplexed that even though my watched queue does go down, I do not get message in the Event_Collector queue all the time. The Event_Collector queue does stay enabled though. Any thoughts? I guess any ...

"certificate not found" for second receiver

14315 byte By AmitKapoor at 2008-2-18
I am trying to test load balancing between multiple broker service instances. I have set up one sender and two receivers. When I tried sending a lot of messages from the sender, I noticed that all messages were being received by receiver 1 alone. While I am able to communicate between sender ...

Service Broker not working for Restored databases (SQL 2000 databases restored on 2005)

825 byte By PrashanthHebbar at 2008-2-17
I just restored my SQL server 2000 database on the SQL server 2005. after this i ran the Service broker sample ("Hello World") on this database by changing the AdventureWorks name to the new database name. The "setup.sql" runs fine. When i run the "SendMessage.sql" ...

Conversation Group Question

1197 byte By Coombsey at 2008-2-16
I'm trying to use Service Broker to relate a set of messages together and was trying to use a related conversation group id. From what I can gather (looking at other threads) I can't use this.....Basically, my ideas was.... I have several tables being updated within a database transaction. ...

missing notifications

1499 byte By JimStallings at 2008-2-15
Hello,We are building a simple distributed application around the service broker where each queue is serviced from a windows service. We have a windows service running constantly as a "listener" on an event queue for each of what we call "request" queues. When a message is ...

Poison Messages - 5 times's a charm

672 byte By LubomirNikolov at 2008-2-15
Hello again,I have some poison message detection in place, based on the BOL sample. My problem is that after the 5th message retry my queue goes down - that is the fifth retry on any message. In actuallity, the first message is retried 3 times and it is taken off the queue [for real], the ...

Making outbound HTTP requests from SQLCLR

3053 byte By MontyShaw at 2008-2-15
Hi,I have written a C# console application that adds a message to a SB queue and a C# stored procedure that reads the message from the queue. I have had so many problems that I'm beginning to doubt the usefulness of this, but that is probably just my frustration speaking. I am stuck on putting ...

XML Service Broker messages

3053 byte By MontyShaw at 2008-2-15
Hi,I have written a C# console application that adds a message to a SB queue and a C# stored procedure that reads the message from the queue. I have had so many problems that I'm beginning to doubt the usefulness of this, but that is probably just my frustration speaking. I am stuck on putting ...

Message Retieval

1613 byte By LubomirNikolov at 2008-2-15
Hello again,A.This time I would like to get your input on two ways of getting a message off a queue. Both are samples, but I would like to know more about the implications.This first example (BOL) goes directly to the queue:WAITFOR ( RECEIVE TOP(1) @messageTypeName = ...

Clarifications on Queue Service and Queue Readers

1128 byte By LubomirNikolov at 2008-2-14
Hello,This is info that I am still not certain about and I just need to make sure, my gut feeling is correct:A.When a procedure is triggered upon reception of a message in a queue, what happens when the procedure fails and rolls back?1. Message is left on the Queue.2. is the worker procedure ...

Service Broker Activation

988 byte By d_godwin at 2008-2-14
HiI'm having problems with activation. I have a CLR stored procedure that runs fine when run directly (and consumes messages from the queue). When I try to enable activation nothing happens. I've tried different execute as options and looked in the sql server logs and I don't see anything ...

Clarifications on Queue Service and Queue Readers

1128 byte By LubomirNikolov at 2008-2-13
Hello,This is info that I am still not certain about and I just need to make sure, my gut feeling is correct:A.When a procedure is triggered upon reception of a message in a queue, what happens when the procedure fails and rolls back?1. Message is left on the Queue.2. is the worker procedure ...

unreceivable messages

700 byte By WilliamBoatin at 2008-2-13
Hey guysI have another weird looking problemI have a queue with a certain number of messages waiting in it to be processed. When I try and receive a message from this queue, I get back an empty row; no message. However, when I try and select from this queue, I see all the messages in there. ...

Remote messages not working – message vanishes

25053 byte By Flamin at 2008-2-12
I need some assistance with getting service broker to work across servers. I have 2 separate servers and I am trying to send a message from one server to the other. No error is generated when sending the message and I get no records in the transmission queue of the sending server, however the ...

Transmission Queue problem

6168 byte By Yosi345 at 2008-2-11
" noWrap width="1%" bgColor=#b71c0c>1. Yosi 29 Temmuz 12:19 se?enekleri g?ster G?nderen: "Yosi" <yus...@bizitek.com> - Bu yazar?n yazd??? mesajlar? bul Tarih: Fri, 29 Jul 2005 02:19:00 -0700 Konu: Service Broker Cevapla | Yazara Cevap Ver | ?let | Yazd?r | Sadece Mesaj | ...

viewing closed conversations

385 byte By WilliamBoatin at 2008-2-10
Wierd problem hereAs one user, when i select * from sys.conversation_endpoints I can see all (I assume) conversations in all states specifically DO, DI and CDHowever when I change to another user I see only DIWhy is this?If it is a permissions issue what permission do I have to grant to a user ...

viewing closed conversations

385 byte By WilliamBoatin at 2008-2-10
Wierd problem hereAs one user, when i select * from sys.conversation_endpoints I can see all (I assume) conversations in all states specifically DO, DI and CDHowever when I change to another user I see only DIWhy is this?If it is a permissions issue what permission do I have to grant to a user ...

An error occurred while receiving data: '10054(An existing connection was forcibly closed by th

445 byte By WilliamBoatin at 2008-2-8
What does this error mean? I get this in the transmission_status column of sys.transmission_queue An error occurred while receiving data: '10053(An established connection was aborted by the software in your host machine.)'.Also, does the number in this message correspond to error 10053 in ...

Getting “EXECUTE permission denied on object 'sp_start_job'” from activation procedure.

2800 byte By Flamin at 2008-2-8
Hi guys, please see if you can help me with this... I have an activation stored procedure that starts a SQL Agent Job which executes a SSIS package. However when the stored procedure runs it fails with the error EXECUTE permission denied on object 'sp_start_job'. The message queue was created ...

An error occurred while receiving data: '10054(An existing connection was forcibly closed b

459 byte By WilliamBoatin at 2008-2-7
What does this error mean? I get this in the transmission_status column of sys.transmission_queue An error occurred while receiving data: '10053(An established connection was aborted by the software in your host machine.)'. Also, does the number in this message correspond to error 10053 in ...

Cannot get the Service Broker work

33271 byte By almaz at 2008-2-7
Some months ago I was playing with Service Broker and everything was ok. But now I just can't get it work. I opened a sample "helloworld" project and still cannot get a message in a target queue. No errors, just empty queues. We have two SQL servers sept CTP on different computers ...

Problem with ServiceBroker

13947 byte By Lasha at 2008-2-7
I use 2 SQL Server: 1 – SQL Server 2005 Enterprise on Windows Server 2003 (Itanium) and SQL Server Express on Windows XP Professional (Pentium). I send the message from enterprise to express the message (at once I shall tell, that sending of the message in the opposite direction gives the same ...

SQL Server Service Broker Admin Tool for SQL Server 2005 RTM

773 byte By nielsb at 2008-2-7
Back in July I released the (then) latest version of SsbAdmin. For you who don'r know what it is; it's a tool which allows you to graphically administer SQL Server Service Broker.I have now uploaded a new version which is compiled against the released versions of SQL Server 2005 and .NET ...

conversation groups and processing in order on the target end

522 byte By ippy04 at 2008-2-6
Is there any way to ensure that messages sent on different dialogs have the same conversation group id on the target queue? I was attempting to set the conversation group id on the dialog before sending but learned that this only works on the initator end. ...

Correction - Interesting Behavior of Service Broker Queues

2907 byte By KenPowers at 2008-2-6
Hello All: I've been experimenting with the new SQL Server Service Broker, and I think I've discovered some interesting behavior. Service Broker relies on "Queues" to store messages that need to be processed. Service Broker operates by sending a message from one Queue (the INITIATOR Quque) to ...

Interesting Behavior of Service Broker Queues

2907 byte By KenPowers at 2008-2-5
Hello All: I've been experimenting with the new SQL Server Service Broker, and I think I've discovered some interesting behavior. Service Broker relies on "Queues" to store messages that need to be processed. Service Broker operates by sending a message from one Queue (the INITIATOR Quque) to ...

how long need ALTER DATATABLE (DATABASE) SET ENABLE_BROKER ?

241 byte By GiuseppePorcelli at 2008-2-5
I am try to start with SQL BROKER service, </P> When I lunch from sql Management studio the following query, this don't finish never.</P> ALTER DATATABLE dbname SET ENABLE_BROKER</P> </P> Where I am mistaking ?</P> </P>

Conversation Groups

1263 byte By IanWallace at 2008-2-4
I'm having some troubles with conversation groups. I need to send two messages on the same conversation group so I have the following in my SP.... BEGIN DIALOG CONVERSATION @providerConversationHandle FROM SERVICE [ProviderDataService] TO SERVICE 'CalculatedDataService' ON CONTRACT ...

New Service Broker blog

312 byte By RushiDesai at 2008-2-4
Remus Rusanu has started his own blog titled "Service Broker Conversations." You can access it here. His first example shows how to build a pub-sub service using Service Broker in SQL Server 2005. ...

xQuery requires QUOTED_IDENTIFIER

890 byte By RyanPedersen at 2008-2-4
I am working for a client that would has XML data being passed into a Service Broker queue.The queue is configured to activate a stored procedure once a message is recieved.Inside that stored procedure I would like to you xQuery methods to find data in the xml that got passed in, however, I ...

sys.conversation_endpoints

463 byte By WilliamBoatin at 2008-2-4
Is there anyway to figure out which tables/objects this view uses?In SQL Server 2000 one could see the actual script of the view but in Yukon this is only possible for user-created views, right?What I am aiming for is to combine the speed of sp_spaceused with the information in ...

service broker error : Connection handshake failed

470 byte By Ant19768341 at 2008-2-3
When I configure SSB in two machine to send message, I get a error message in target machine SQLProfiler: "Connection handshake failed. There is already an existing connection with the same peer and this connection lost the arbitration. State 80." Then I get another message "This message could ...

problem on sending message

3419 byte By proof at 2008-2-3
Hifew weeks ago I found an example of conversation using service broker.I used the following code: USE Test GO -- First, we need to create a message type. Note that our message type is -- very simple and allowed any type of content CREATE MESSAGE TYPE HelloMessage VALIDATION = NONE GO -- Once ...

SQL Server

Site Classified