Issue 68 in cassia: The system cannot find the file specified

20 views
Skip to first unread message

cas...@googlecode.com

unread,
Jun 5, 2013, 10:14:26 PM6/5/13
to cassi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 68 by zhujia1...@gmail.com: The system cannot find the file
specified
http://code.google.com/p/cassia/issues/detail?id=68

I used cassia to logoff RDP users, and called GetSessions() to re-retrieve
all users, sometimes it will throw following exceptions, can you help to
check?


Source Error:

An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the exception
can be identified using the exception stack trace below.

Stack Trace:


[Win32Exception (0x80004005): The system cannot find the file specified]

Cassia.Impl.NativeMethodsHelper.QuerySessionInformation(ITerminalServerHandle
server, Int32 sessionId, WTS_INFO_CLASS infoClass, ProcessSessionCallback`1
callback) in D:\Cassia-2.0.0.60\Source\Cassia\Impl\NativeMethodsHelper.cs:42

Cassia.Impl.NativeMethodsHelper.QuerySessionInformationForString(ITerminalServerHandle
server, Int32 sessionId, WTS_INFO_CLASS infoClass) in
D:\Cassia-2.0.0.60\Source\Cassia\Impl\NativeMethodsHelper.cs:51
Cassia.Impl.TerminalServicesSession..ctor(ITerminalServer server, Int32
sessionId, String windowStationName, ConnectionState connectionState) in
D:\Cassia-2.0.0.60\Source\Cassia\Impl\TerminalServicesSession.cs:47
Cassia.Impl.TerminalServicesSession..ctor(ITerminalServer server,
WTS_SESSION_INFO sessionInfo) in
D:\Cassia-2.0.0.60\Source\Cassia\Impl\TerminalServicesSession.cs:85
Cassia.Impl.TerminalServer.GetSessions() in
D:\Cassia-2.0.0.60\Source\Cassia\Impl\TerminalServer.cs:41
TSUserMgt._Default.ListAllUsers(DataSetUser user, String ServerName) +206
TSUserMgt._Default.BindGridView() +197
TSUserMgt._Default.ButtonLogOff_Click(Object sender, EventArgs e) +553
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +110

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565




Attachments:
error.png 56.1 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

cas...@googlecode.com

unread,
Jun 6, 2013, 8:40:47 AM6/6/13
to cassi...@googlegroups.com
Updates:
Status: Duplicate
Mergedinto: 59

Comment #1 on issue 68 by danports: The system cannot find the file
specified
http://code.google.com/p/cassia/issues/detail?id=68

Yep, this exception is raised when the session no longer exists or is in
the process of being logged off -- see issue 59.
Reply all
Reply to author
Forward
0 new messages