Quantcast
Channel: Remote Desktop Services (Terminal Services) Forumu
Viewing all articles
Browse latest Browse all 27533

WTSVirtualChannelOpen fails on Windows Server 2012, identical code works fine on Windows Server 2008 etc.

$
0
0

We try to open two Virtual Channels with the same name on a Windows Server 2012 with two WTSVirtualChannelOpen(WTS_CURRENT_SERVER, WTS_CURRENT_SESSION, "name") calls from within a single process.

While the first call succeeds, the second call always hangs for 10 seconds and returns NULL. Afterwards called GetLastError returns 0x80004005 (unspecified error).

This problem only happens on Server 2012, the same code works without problems on Server 2003 and 2008, using the same client.

Firewall is disabled (personal and domain).

•Did anything change between Server 2008 and Server 2012 that would cause such an "unspecified error"?
•Is there any way to get more detailed information on the cause of the error (e.g. activate logging on WTS... functionality)?
Any answers are appreciated ...

Andreas

PS: There seem to be several related issues reported e.g. in unanswered threads http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/b0705799-4a22-43e8-b5e5-d0b1f60e1cad and http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/0823f44f-785b-4c5c-b809-61a4a74327e2


Viewing all articles
Browse latest Browse all 27533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>