Hi Dan, thanks for the quick response.
servers are windows 2003, I'm using 2.0.0.60 cassia
if I connect to terminal services manager with the same user which
runs the program, I can send messages to users correctly (I guess this
is no issue of privilege)
yes, is a remote call, in the code im using:
ITerminalServer GetServerFromName server = (serverName)
The sessions were closed without problems using:
session.Logoff ();
On Sep 20, 2:27 pm, Dan Ports <
danpo...@gmail.com> wrote:
> Alexander,
>
> A couple of suggestions off the top of my head:
>
> - Does the user the code is running under have the Message
> permission<
http://msdn.microsoft.com/en-us/library/aa383488>for the
> session in question? If the code is running under an administrator
> user account, is it running with elevated privileges?
> - Are you sure you're not trying to invoke MessageBox on a session that
> wouldn't support it, like the TCP listening session?
>
> If that doesn't help, please reply with answers to the following:
>
> - How are you closing the sessions of the users you decide to boot?
> - Is this a remote call (i.e. using GetRemoteServer())?
> - What version of Windows is the client running (the machine calling
> MessageBox)?
> - What version of Windows is the server running?
> - What version of Cassia are you running?
>
> Dan
>
> On Tue, Sep 20, 2011 at 12:55 PM, Alexander Wolff <
alexander.wo...@gmail.com