TurboFloat.GetServer throws TurboFloatException("Failed to get the server details")

We are operating in C#, using the x86 version of TurboFloat.dll (3.5.5.2). The turbo float server is of version 3.5.6, though I don't know right now whether the client is using the x86 or 64-bit version.

The client sent a crash report whereby the method TurboFloat.GetServer throws TurboFloatException("Failed to get the server details"). TurboFloat.GetServer was called shortly after a successful call to TurboFloat.RequestLease() was completed. I will be coding in more logic to give me the actual error code involved here (as I don't have it), but why in the world could this occur? I would have thought any error would have been caught by TurboFloat.RequestLease() .

TurboFloat.GetServer just gets the address and port that were set using SaveServer. It never contacts the server. It's all stored locally. As far as what exactly is going wrong, you need to give me the exact error code. And preferably a way to reproduce the exception.

Ok, well then we'll see what happens in the long run. They will need to get my fix that will reveal the error code, and then they would need to reproduce it. I'm not yet sure that they can reproduce it. Unless I put another message on this thread, don't worry about it. Thanks.

They have finally gotten back to me with the error code that is coming back when calling Native.TF_GetServer(handle, sb, length, out Port). The error code is "1", or rather TF_FAIL = 0x01. Any ideas on what might be going wrong here? I mean, it is clear that this isn't an error that requires the program to close, as the program has already received a floating license and even received information about custom fields from the server. But I do find it really strange, and it could indicate worse issues to come due to how they configured the program.

And to clarify, the client is not in the same country as I am, and I have not been able to reproduce the problem on my machines. So the error code is all I really have to go off of at the moment.

Can you tell me the address and the port they use, maybe we'll be able to reproduce it from that information.

What if they don't remember the address/port that they entered for the server? TurboFloat.GetServer is the only way to access it that I can think of. Where is this information stored on the computer so they can get at it directly? And yes I know they could just figure out what the address of the server computer is afresh, but I would imagine there are multiple ways a computer could be addressed, and perhaps they used a way that works, but is an edge case.

Tell them to send you all of the files in "C:\ProgramData\TurboFloat" and all of the files in "C:\Users\THEIR-USERNAME\AppData\Local\TurboFloat". Then send them to me at wyatt@wyday.com and I'll take a look at them and try to reproduce your crash.

Also, send me your TurboActivate.dat file and your GUID for your app.

I decided to try and find those folders on one of our test machines (Windows 7), and I realized that I can't find those folders at all. I have run our program on the test machine, connected to the floating server successfully, and yet those folders are not present. Is this typical in some cases? Do these folders only appear when there are errors?

No, the folders are there, but hidden. If you type the name into the Windows Explorer address bar it will take you to the folder.

Ok, I found the folders now on our test machine. When I get a response from them, I'll send it on to you. Though just so you know - it could take them a week.

That's OK, just so long as we get them so we can try to reproduce the exception on our machines.