ServerSession Infoset

Topics: Developer Forum
Coordinator
Jul 30, 2006 at 9:26 AM
It seems the WMI object ServerSession is not always queried by the Framework because of a permission problem.
ASPInfo contains the following fragment in order to use ServerSession:

'Sessions
'Disabled: it does not always works. Try to enable to see if it return an error
'element = New clsElements("Sessions", "Sess", "root\CIMV2", "SELECT * FROM Win32_ServerSession", itemsSess, headSess)
'elements.Enqueue(element)

As you see by the comment, this code is disabled in the actual assembly.
At the moment I cannot determine while it works on one machine and not in others, if you have any hint on this, please go on on this thread.

Luca
Coordinator
Jul 30, 2006 at 12:14 PM
This discussion has been copied to Work Item 1448. You may wish to continue further discussion there.