Re: Virtual channel reconnect on longhorn (Win2k8)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Are you re-opening the channel when reconnected? Longhorn requires the channel to be reopend when reconnected (includes auto-reconnect) which differs from Win2k3

Thanks

Rong


--
This posting is provided "AS IS" with no warranties, and confers no rights.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
<amitmane82@xxxxxxxxx> wrote in message news:1190624915.004409.21020@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,

On Win2003 I have created a virtual channel to send data from client
to server by writing an add-in. This add-in works fine for new session
as well as reconnected session, on win2003.
But when I use same add-in while connecting to longhorn
server then for new session virtual channel works perfectly but when I
disconnect this session and again reconnect it then
"WTSVirtualChannelWrite" on server application fails for reconnected
session with error 1. ie. Incorrect function.

So can any one tell me the reason for this problem. Is there
any specific setting to do on terminal server, so that existing
virtual channel works correctly as that of on win2003.

Please guide me.
Any help will be appreciated.


Thanks
Amit


.



Relevant Pages

  • RE: Windows 2003 mutiple session issues
    ... Can you disconnect and reconnect from the same client? ... MCSE, CCEA, Microsoft MVP - Terminal Server ... When the new session started all appeared to work, ...
    (microsoft.public.windows.terminal_services)
  • Re: Virtual channel reconnect on longhorn (Win2k8)
    ... to server by writing an add-in. ... as well as reconnected session, ... server then for new session virtual channel works perfectly but when I ... disconnect this session and again reconnect it then ...
    (microsoft.public.windows.terminal_services)
  • Re: SSL Session reuse with SChannel (Windows)
    ... remote server. ... reconnect without the need to renegotiate shared key again. ... but don;t know how to make it with SChannel. ... The number of milliseconds that Schannel keeps the session in its ...
    (microsoft.public.platformsdk.security)
  • RE: TS Session Broken Windows 2008
    ... "Patrick Rouse" wrote: ... when they attempt to reconnect after their session is terminated. ... online server. ...
    (microsoft.public.windows.terminal_services)
  • Closing a channel: Invalid recipient?
    ... I am developing an application that talks to a server over SSH2. ... what I do is open an SSH session, open an "exec" channel, do ... whatever I need, then close the session. ... when I am done with the command and send a ...
    (SSH)