I remember seeing that when the user running the tool does not have permissions to query the remote server. Check its RDP connector security, you'll need 'query' permissions at least, the other permissions are self-explaining.
Another thing, have you actually opened the connection to the server before querying sessions?
Sent from my HTC
--
You received this message because you are subscribed to the Google Groups "Cassia Users" group.
To post to this group, send email to cassia...@googlegroups.com.
To unsubscribe from this group, send email to cassia-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cassia-users?hl=en.
Permissions are certainly a potential issue, especially since application pool identities often have very limited permissions. Have you checked the permissions of the relevant application pool user? If you run the relevant code outside of IIS, does it work?
If you hadn't opened the connection to the server yet, you have gotten a more specific exception (InvalidOperationException: Connection to remote server not open...).
Dan
On Thu, Jan 5, 2012 at 12:58 PM, Robert Gijsen <robert...@gmail.com> wrote:
I remember seeing that when the user running the tool does not have permissions to query the remote server. Check its RDP connector security, you'll need 'query' permissions at least, the other permissions are self-explaining.
Another thing, have you actually opened the connection to the server before querying sessions?
Sent from my HTC
On Jan 5, 2012 6:52 PM, "Kennethologist" <kenneth...@gmail.com> wrote:
I am trying to run the Cassia library on a remote Windows Server 2008
Terminal Server. Any methods I call I get the response below.
** No more data is available
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: No more data
is available
Stack Trace:
[Win32Exception (0x80004005): No more data is available]
Cassia.Impl.NativeMethodsHelper.GetSessionInfos(ITerminalServerHandle
server) +159 Cassia.Impl.TerminalServer.GetSessions() +103
--
You received this message because you are subscribed to the Google Groups "Cassia Users" group.
To post to this group, send email to cassia...@googlegroups.com.
To unsubscribe from this group, send email to cassia-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cassia-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Cassia Users" group.
To post to this group, send email to cassia...@googlegroups.com.
To unsubscribe from this group, send email to cassia-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/cassia-users/-/-n1tbA8kIzcJ.
To unsubscribe from this group, send email to cassia-users...@googlegroups.com.