10000 Un-representable DateTime · Issue #61 · danports/cassia · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Un-representable DateTime #61
Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
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 DanielBL...@gmail.com on 1 Jun 2012 at 2:14

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0