Rare problem connecting against Citrix Servers

Rare problem connecting against Citrix Servers

avatar

Hello,
I have been using Remote Desktop Manager for months. In my company, there are many servers, some of them with Citrix Presentation Server. I use the 'Open embeded/Tabbed' item very much, because it allows to have several sessions in sight.
Well, two days ago, I have begun to have an strange problem: when I try to connect to a Citrix server with Open embeded/tabbed, I get a Windows error informing about a problem with terminal server licenses. The exact message is 'Remote server disconnected the session due to a problem with licenses protocol. Contact with the administrator. However, when I open the session with 'Open Session' or 'Open session (full screen)' I don´t have any problem. With all no citrix servers, I don´t have problems either with Open embeded/tabbed nor Fullscreen. The problem occurs only with Citrix servers. But other mates in the company doesn't have this problem, it's only me. And just since two days.
What can be happening and how can I solve it?
Thanks.

All Comments (22)

avatar

Is it possible that you have some opened session left opened?

David Hervieux

avatar

No, that cannot be fue problem because i have more than one hundred citrix servers and it occurs in all of them, and the not tabbed sessions works ok. On all not citrix servers there is no problem. Thankyou

avatar

Can anybody help me? Somebody from Devolutions Support? I need help, because the most important reason why I choosed this product was its facility of opening sessions in tabs, and now that doesn't work with my citrix servers, and they are the most numerous of my environment.

avatar

If you open the same connection on a different machine, you don't have this message? Could you verify your application log in Help->View Application Logs?

David Hervieux

avatar

That's ok, other mate who use the same version of the program than me, and who uses the same database, doesn't have the problem.

And now, for the most incredible thing. I have gone to see the application log. I have cleared it because it was plenty of data, and I wanted to have just the lines related to the problem. I have tried to connect to one of the citrix servers and... voila!! the problem has dissapeared!!

If it happens again, I will transcribe here the application log.

Thanks.

avatar

Hi again. The problem is here again. The Application Log is empty, and it is impossible open embeded session against servers with citrix. It throws a license problem. The same connections from other machine work ok. If I open the session normally, works ok. The embbeded throws the license problem message (License of Terminal Server Services, not Remote Desktop Manager).

Any clue?

avatar

Could you verify the number of opened session with the Terminal Services view? Maybe you have some ghost session left opened

David Hervieux

avatar

Yes, the number of opened sessions is 0. And, if it would be any, why it works when I open session in normal mode? The point is that the problem occurs ONLY with embeded/tabbed sessions, and ONLY in Citrix Servers. In not-Citrix servers, I can open embedded/tabbed sessions, and in Citrix servers I can open Normal sessions.

avatar

Do you know what has resolved the problem the last time? Could you try to use the Admin/Console mode when connecting?

David Hervieux

avatar

Last time, the problem solved when I went to see the application log and, noticing that it was completely full and it was going to be very difficult to see anything, I cleared it. From that moment on, the problem disappeared, until yesterday, which appeared again. I cleared the log too, but this time the problem persists.

If I use the Admin/Console mode to connect, I don't have any problem. I only have the problem if I try the embbeded/tabbed mode. And the message I get is the following (translated from spanish):

The remote server disconnected the session because there was an error with the licensing protocol. Try again or contact with the server administrator.

Thanks

avatar
avatar

Could you try the Remote Desktop Connection Manager from Microsoft, we use the same ActiveX:

http://www.microsoft.com/en-us/download/details.aspx?id=21101

It seems to be a problem with the ActiveX

David Hervieux

avatar

Could you also take a look at the event viewer?

David Hervieux

avatar

Hi,

I have tried with Remote Desktop Connection Manager and when I try to connect to any Citrix server I get the message 'No sessions available'. So, in fact, it is a problem with the ActiveX.

Now that we know what is the problem, I would want to know what is the solution.

avatar

This might not help but at least we should verify: do you have the latest RDP version? If you use Windows 7, you already have it but if not:

http://support.microsoft.com/kb/969084

David Hervieux

avatar

Yes, I use Windows 7. But if the problem is the ActiveX, wouldn't be reinstall or something that activex? Is there any solution to the problem? It has to be one, since it has worked well for months.

avatar

To be honest I'm puzzled. In Windows 7 you can't re-install the ActiveX. Could you verify if you see anything special in the Event Viewer?

David Hervieux

avatar

Hi,

I have installed Process Monitor from sysinternals and monitores the process RDCMan (as the ActiveX is the same than Remote Desktop Manager, I have monitored this because is simpler), and I have found that just before the connection error, a registry key is readed. So I have opened the registry, backed it up, and removed that key. And the problem appears to be solved. The key removed is:

HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\MSLicensing.

It appears to be some kind of corruption in that key.

After removing that key, everithing works ok again, and a new key is created automatically.

So keep the solution in the knowledge base, in case other people have the same problem.

Thanks for your help.

avatar

Wow! You did a great job. I would never have thought about that.

David Hervieux

avatar

I have found that after your post:

http://support.microsoft.com/kb/187614

It's so easy to find the kb when you know the solution :)

David Hervieux

avatar

Not so easy. It's not the same key. I had tried it without results.:-)

avatar

It's mostly same key except that's in the 32bit registry (Wow64) on a 64 bit machine

David Hervieux