Sql Azure Error :Failed to establish a MARS session in preparation to send the request to the server.

Hi All,
      I have a small C# console app.
I have been  facing some timeout issue with Sql Azure for a while now.

I now decided to use the retry logic and Reliable connections - using the TransientFaultHandling Enterprise lib

        RetryPolicy myretrypolicy = new RetryPolicy<SqlAzureTransientErrorDetectionStrategy>(3, TimeSpan.FromSeconds(3));
What should be the correct max tries and interval that actually works for SQL AZURE?

The issue i have is when  i use this lib i keep getting error :

Failed to establish a MARS session in preparation to send the request to the server.

As anyone used this library successfully in a console app before.If yes can you share some resources or some sample snippet code.

Cheers


  • Edited by Patrick.I Tuesday, May 14, 2013 11:01 AM
May 14th, 2013 1:29pm

Hey there and apologies for the slow response.  Is this still an issue for you? And do you still need help?

Thanks Guy

Free Windows Admin Tool Kit Click here and download it now
June 5th, 2014 9:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics