|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Friday, January 18, 2013 2:22 PM
Points: 162,
Visits: 262
|
|
Thanks Santhi
You are awesome. Your statements put together did my job rightaway. Thanks a lot really
Satish
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, April 10, 2013 5:13 AM
Points: 19,
Visits: 107
|
|
HI,
It is an awesome article(Building Distributed Service Broker) and it really helped me a lot in understanding service broker.
sub: I have two sql server instances on my local machine and I have set up service broker with the help of steps mentioned in Indukuri's article but I am getting this below message when I run the trace on the initiator instance.
"Unable to route the incoming message. The system database msdb containing routing information is not available. The broker is disabled in msdb."
Everytime I run the SP that initiates a dialog the message(s) is getting populated in transmission_queue and to_broker_instance column is empty.
Please reply to this post as soon as possible.
Thank you.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 6:25 AM
Points: 6,861,
Visits: 8,045
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, April 10, 2013 5:13 AM
Points: 19,
Visits: 107
|
|
Thanks ALZDBA for ur quick reply.
When I executed the query on initiator instance I was getting is_broker_enabled = 0 so I executed the below query now I got the below given output.
ALTER DATABASE msdb SET ENABLE_BROKER
Q_005 name is_broker_enabled service_broker_guid msdb 1 6531971A-433F-
Now I am not getting that error "broker is disabled in msdb"
Now when I run the SP to start dialog on initiator again the messages are getting stuck in transmission_queue same thing is happening even when I initiate the dialog from other instance ietarget as initiator and initiator as target then also messages are getting stuck in transmission_queue on the other instance.
when I checked the transmission_queue I am getting the below o/p
to_broker_instance is empty, is_conversation_error=0, transmission_status is empty
What to do now please help me out in resolving this issue.
Thanks.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, April 10, 2013 5:13 AM
Points: 19,
Visits: 107
|
|
Hi,
When I run the trace On instance 2(target instance) I got the below msg:
"Could not forward the message because forwarding is disabled in this SQL Server instance." Error:9792
help me how to get rid of this problem.
I have executed the below query on initiator and on target instance(both on same machine)
USE msdb select * from sys.routes ;
It is returning only one row name="AutoCreatedLocal" Is the above output perfect or else msdb should have all the user created routes to work consistently ?
Do we have to create the route(s) in the msdb database as well apart from creating those routes in user defined databases as we generally do while configuring service broker on multiple instances?
Please Please respond to this post as soon as possible.
Thanks
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 6:25 AM
Points: 6,861,
Visits: 8,045
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 5:20 AM
Points: 2,
Visits: 9
|
|
Hi, I've built my SSSB application according this article but it does not work. The only thing I can get is message at transmission queue: Connection handshake failed. There is no compatible authentication protocol. State 21. It looks like the problem is at end point configuration. Here is EP ddl:
CREATE ENDPOINT SB_Initiator_EP STATE=STARTED AS TCP (LISTENER_PORT = 4022) FOR SERVICE_BROKER ( AUTHENTICATION = CERTIFICATE SB_EP_Initiator_Certificate, ENCRYPTION = SUPPORTED );
CREATE ENDPOINT SB_Target_EP STATE=STARTED AS TCP (LISTENER_PORT = 4022) FOR SERVICE_BROKER ( AUTHENTICATION = CERTIFICATE SB_EP_Target_Certificate, ENCRYPTION = SUPPORTED ); Could you please advise?
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 6:25 AM
Points: 6,861,
Visits: 8,045
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 5:20 AM
Points: 2,
Visits: 9
|
|
- can both instances communicate using those port numbers ? (firewall, ..) - did you install the certificates correct ?
- yes by telnet - yes
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 8:43 AM
Points: 1,
Visits: 11
|
|
Best article about this subject ever.
I just wonder if it is possible to make this without using certificates..
Is it really necessary to use certificates in an domain environment?
|
|
|
|