Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Aug 26, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant