Solved

Service Broker Message Queue

Posted on 2012-03-26
6
1,571 Views
Last Modified: 2012-04-22
Hi all,
I have got SQL Service Broker Message Queue configured as below:
1. The initiator(client) sends data to the Target (Acting as a Forwarder)
2. The Forwarder is configured as a Gateway server (Server1) which has a public internet ip exposed to all clients
3. Another server (Server2) is configured to accept messages from Server1. Server1 and Server2 can ping each other and telnet each other

Attched the profiler at Server1, the following error message comes up at Server1 when the client sends a message:
Audit Broker Login, EventSubClass 6 - Authorization Failure
Audit Broker Login, EventSubClass 2 - Login Protocol Error
Broker:Connection, EventSubClass 4 - Closing, with TextData:"Connection handshake failed. An OS call failed: (8009030c) 0x8009030c(The logon attempt failed). State 67."

Attached the profiler a Server2, ther following error message comes up at Server2:
Broker:Connection, EventSubClass 4 - Closing, with TextData:"An error occurred while receiving data: '10054(failed to retrieve text for this error. Reason: 1815)'.

Can someone please help us resolving these issues?

Many Thanks

Programmers
0
Comment
Question by:Programmers
  • 4
6 Comments
 
LVL 25

Expert Comment

by:TempDBA
ID: 37766267
It clearly explains that the login you are using doesn't have permission on the database. Make the login a sysadmin or give proper permissions to it.
Here is a link that tells the meaning of different eventSubClasses:-
http://msdn.microsoft.com/en-us/library/ms190261.aspx
0
 

Author Comment

by:Programmers
ID: 37769924
Thanks for the link. Now, Server2 accepts the message but is not able to send the acknowlegement back to the client.  Attached the profiler at Server2 gives:
Broker:Message Undeliverable, EventSubclass 1 - Sequenced Message, TextData:'This message could not be delivered because it is a duplicate.'
Broker:Connection, EventSubClass 3 ,EventSubclass 3 - Connect Failed,TextData:'Connection attempt failed with error: '10060(A connection attemp failed because the connected party did not properly respond after a period of time, or established connection faild because connected host has failed to respond.)'.


Not really sure if this is the routing issue.

Please help

Thanks
0
 

Author Comment

by:Programmers
ID: 37792200
Can someone please give some guidance on our comment Posted on 2012-03-27 at 16:47:49.

Thanks
0
 

Accepted Solution

by:
Programmers earned 0 total points
ID: 37859315
The routing configuration was incorrect. The appropriate routes were reconfigured and the problem was resolved.

Programmers
0
 

Author Closing Comment

by:Programmers
ID: 37877402
The route configurations were incorrect.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now