Connecting to two different TM servers using Studio 2009 API

Dear Developers,

I'm facing an exception when I try to connect to two TM servers and get the list of available TMs. The test code I use is quite simple:

var tps1 = new TranslationProviderServer(serverUri1, false, user1, password1);
var tms1 = tps1.GetTranslationMemories(TranslationMemoryProperties.None);

var tps2 = new TranslationProviderServer(serverUri2, false, user2, password2);
var tms2 = tps2.GetTranslationMemories(TranslationMemoryProperties.None);

At the second call of GetTranslationMemories I get an exception: "No identity information found for Server http://...."

If I connect to only one TM at once (and then restart the app), then it works with both TMs, so the credentials and the uri is correct. Only if I try to connect to both at once (doesn't matter in which order) does this occur.

This happens only with the 2009 API. In 2011 it works perfectly. Has anyone met this? How can I solve this problem? I should cooperate with both Studio 2009 and 2011....

The full stacktrace is listed below.

thanks in advance,

Tamas

---------------------------

System.InvalidOperationException: No identity information found for Server http://........
at Sdl.Enterprise2.Platform.Client.IdentityModel.IdentityInfoCache._validateKey(String key)
at Sdl.Enterprise2.Platform.Client.IdentityModel.IdentityInfoCache.GetIssuedTokenRouterAddress(String key)
at Sdl.Enterprise2.Platform.Client.IdentityModel.IssuedTokenClientBase`1._createChannelFactory(String key, String servicePath)
at Sdl.Enterprise2.Platform.Client.IdentityModel.IssuedTokenClientBase`1.CreateChannelFactory(String baseAddress, UserCredentials credentials, String servicePath)
at Sdl.Enterprise2.Platform.Client.IdentityModel.IssuedTokenClientBase`1.GetProxy()
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryAdministrationClient.GetTranslationMemories(String[] relationships, Boolean includeLanguageResourceData, Boolean includeScheduledOperations)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationProviderServer.GetTranslationMemories(TranslationMemoryProperties additionalProperties)