SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Initiator to Target on same box when a binding is present


Initiator to Target on same box when a binding is present

Author
Message
ashley.wardell
ashley.wardell
Old Hand
Old Hand (335 reputation)Old Hand (335 reputation)Old Hand (335 reputation)Old Hand (335 reputation)Old Hand (335 reputation)Old Hand (335 reputation)Old Hand (335 reputation)Old Hand (335 reputation)

Group: General Forum Members
Points: 335 Visits: 194
Hi all
I have set up a service broker Initiator to Target service on two machines.
Both queues send messages fine on there own machines.

I then set up binding and routes using a user created from a certificate to send messages from an initiator on one box to target on another.

This works fine but now messages sent to the local target just sit in the transmission queue.

Looking closer at a trace of the messages the errors are as follows.

Audit Broker Conversation 24 8 262496 2 - No Certificate 1 0X01 172.16.32.207 2012-01-04 13:03:50.703 The certificate's private key cannot be found 9924210 0 81e8d523-7925-4ac1-8fc2-f1320688406e Initiator AD 35 1E B7 D0 C9 CE 96 4E CB 30 D8 9C C8 F7 99 0 0 0 Root Agency 0 0
Broker:Message Undeliverable 24 8 262497 1 - Sequenced Message 1 0X01 172.16.32.207 2012-01-04 13:03:50.703 This message could not be delivered because the security context could not be retrieved. 9924210 11229 81e8d523-7925-4ac1-8fc2-f1320688406e 3097A791-A2A2-408C-B9FD-120BC3960731 //Logging/Sync/Msg Initiator //Logging/Sync/Con //Logging/Sync/Out/Ser 16 1 sa

Also i noticed on on this site

http://msdn.microsoft.com/en-us/library/ms178024.aspx

the folowing statement

However, if a remote service binding is present where the service_name specified for TO SERVICE matches the name of the local service, Service Broker will use the binding

Does anyone know how i can set up a seperate binding or seperate route so that i can send locally to a service the same name as one on a remote box with a binding in place already.

I can provide more information if nessecary.

Thanks in advance for any help on this.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search