taliesins / cassia

Automatically exported from code.google.com/p/cassia
1 stars 0 forks source link

Issues running on and connecting to W8 / Server 2012 systems: #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Cassia is great, but ran into some issues running on and connecting to 
W8/Server 2012 systems:

Issues running a stand-alone app using Cassia 2.1.0.119 connecting to W8/Server 
2012 systems:

1. The ITerminalServicesSession "RemoteEndPoint" port number is always "0" for 
active sessions running on Windows 8 or Windows Server 2012.

2. The ITerminalServicesSession IProtocolStatistics
 "OutgoingStatistics" and "IncomingStatistics" are always "0" for active sessions running on Windows 8 or Windows Server 2012 (Bytes, CompressedBytes and Frames).

Issue running a stand-alone app using Cassia 2.1.0.119 running on and 
connecting to W8/Server 2012 systems:

1. Retrieving ITerminalServicesSession "RemoteEndPoint" throws error on Windows 
8 or Windows Server 2012 if session is disconnected:
RemoteEndPoint = 'session.RemoteEndPoint' threw an exception of type 
'System.ComponentModel.Win32Exception'
base {System.Runtime.InteropServices.ExternalException} = {"The tag is 
invalid"} ErrorCode = -2147467259
NativeErrorCode = 1733
This error does not occur when run on Windows 7 or Server 2008R2.

Using Cassia-2.1.0.119.

Code is running as a stand-alone standalone application on Windows 
XP/2003/7/2008R2/8/2012. Application is connecting to the same operating 
systems.

Did Microsoft implement some API changes and can a new version of Cassia fix 
this?

Thanks!

Original issue reported on code.google.com by vvanegmond on 26 Aug 2013 at 7:23

GoogleCodeExporter commented 8 years ago
Thanks for the detailed report.

For the RemoteEndPoint issues, see issue 63. Interesting that you're only 
seeing the "tag is invalid" exception when the session is disconnected -- I'll 
have to look into that further.

I haven't seen the IncomingStatistics/OutgoingStatistics issue before, but 
admittedly, I don't use those properties very often. I'll see if I can 
reproduce the problem.

Original comment by danports on 26 Aug 2013 at 10:08