Jump to content

Virtual channel reconnect on longhorn (Win2k8)


Recommended Posts

Guest amitmane82@gmail.com
Posted

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

  • Replies 2
  • Created
  • Last Reply
Guest Rong Chen [MSFT]
Posted

Re: Virtual channel reconnect on longhorn (Win2k8)

 

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@gmail.com> wrote in message

news:1190624915.004409.21020@w3g2000hsg.googlegroups.com...

> 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

>

Guest amitmane82@gmail.com
Posted

Re: Virtual channel reconnect on longhorn (Win2k8)

 

On Sep 24, 12:59 pm, "Rong Chen [MSFT]" <roc...@online.microsoft.com>

wrote:

> 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.<amitman...@gmail.com> wrote in message

>

> news:1190624915.004409.21020@w3g2000hsg.googlegroups.com...

>

> > 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

 

 

Hi Rong,

 

Thanks for your valuable help.

Can you give me any MSDN or any other link where you mentioned point

is explained in more detail .

And do you have any idea why longhorn changed this behavior since

2k3.

 

Thanks

Amit


×
×
  • Create New...