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