<pre>I am using .net 3.5 on VS studio.net 2008 ... could that be the proble.<br><br>I will try maybe to down grade to .net 2.0 and see what happens. Sorry<br>I am on skype if you happen to be on that my id is bchikirivao ... I will <br>try to get on IRC tomorrow .. Thanks for all your help.<br><br><br>Wow, that's really weird. Everything looks normal up until the <br>connection goes away. Neither side is sending any complaint to the other.<br><br>Have you checked the RabbitMQ server logs? They will contain lines like:<br><br>=INFO REPORT==== 30-Mar-2008::18:51:31 ===<br>accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:52676<br>=INFO REPORT==== 30-Mar-2008::18:51:31 ===<br>closing TCP connection from 127.0.0.1:52676<br><br>etc etc. Perhaps the server is suffering from some problem it doesn't <br>get the opportunity to inform the client about.</pre><br><br><b><i>BillC <billc@inworksol.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid
rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Date: Sun, 30 Mar 2008 10:45:33 -0700 (PDT)<br>From: BillC <billc@inworksol.com><br>CC: rabbitmq-discuss@lists.rabbitmq.com<br>Subject: [rabbitmq-discuss] Fw: Errors using Windows .NET Client Library<br><br> <style type="text/css"><!-- DIV {margin:0px;} --></style><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Thanks for all your help.<br><br>I tried to run the same program using your remote server "dev.rabbitmq.com" and I still get the same errors as described below:<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br> Please can someone help me with an explanation. I really appreciate any help you can give me.I am getting some errors when I try to run any of the examples that come with the .NET rabbitmq-dotnet-1.2.8025.1832-net-2.0 download. I am
running RabbitMQ server 1.2.0 which comes from the bundles in the windows <a rel="nofollow" target="_blank" href="http://www.rabbitmq.com/releases/windows/complete-rabbitmq-bundle-1.2.0.zip">complete-rabbitmq-bundle-1.2.0.zip</a> download. When I run any of the samples I get the following error:<br><br>{RabbitMQ.Client.Exceptions.ProtocolVersionMismatchException: AMQP server protocol negotiation failure: server version 0-8, transport parameters -1:-1<br> at RabbitMQ.Client.Impl.ConnectionBase.Open(Boolean insist)<br> at RabbitMQ.Client.Impl.ConnectionBase..ctor(ConnectionParameters parameters, Boolean insist, IFrameHandler frameHandler)<br> at RabbitMQ.Client.Framing.Impl.v0_9.Connection..ctor(ConnectionParameters parameters, Boolean insist, IFrameHandler frameHandler)<br> at RabbitMQ.Client.Framing.Impl.v0_9.ProtocolBase.CreateConnection(ConnectionParameters parameters, Boolean insist, IFrameHandler
frameHandler)<br> at RabbitMQ.Client.ConnectionFactory.FollowRedirectChain(Int32 maxRedirects, IDictionary connectionAttempts, IDictionary connectionErrors, AmqpTcpEndpoint[]& mostRecentKnownHosts, AmqpTcpEndpoint endpoint)}<br><br>If I make code changes such that I change the protocol to AMQP_0_8 in my app.config file and then set the protocol as Protocols.FromConfiguration("my-protocol");<br>Then I am able to connect and I don't get the same exception. Is this the expected behavior? and further does the RabbitMQ server only support AMQP 0-8? And if the examples are primarily targeted for RabbitMQ then why have the default to AMQP 0-9 such that you have to explicitly change the protocol to 0-8 when running against RabbitMQ?<br><br><br></div><br></div></div>_______________________________________________<br>rabbitmq-discuss mailing
list<br>rabbitmq-discuss@lists.rabbitmq.com<br>http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote><br>