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

Un-representable DateTime #61

Open
GoogleCodeExporter opened this issue Aug 26, 2015 · 15 comments
Open

Un-representable DateTime #61

GoogleCodeExporter opened this issue Aug 26, 2015 · 15 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Enumerate current terminal sessions

What is the expected result? What happens instead?

Expected to return current terminal sessions, throws exception instead.

What version of Cassia are you using (e.g. 2.0.0.60)?

2.1.0.119

On what Windows version is your code running?

Error only occurs on:
Microsoft Windows XP Professional SP3 & SP2

Is your code running as a Windows service, an ASP.NET application, or a
standalone application?

Windows service

What Windows version is running on the remote server you are trying to
access (if any)?

n/a

Please provide any additional information below. If you are running into an
exception, please include a stack trace (at least the portion of it that
relates to Cassia).

System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an 
un-representable DateTime.
   at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
   at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond, DateTimeKind kind)
   at Cassia.Impl.NativeMethodsHelper.FileTimeToDateTime(FILETIME ft)
   at Cassia.Impl.TerminalServicesSession.LoadWinStationInformationProperties()
   at Cassia.Impl.GroupLazyLoadedProperty`1.get_Value()
   at Cassia.Impl.TerminalServicesSession.get_UserAccount()

Original issue reported on code.google.com by [email protected] on 1 Jun 2012 at 2:14

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