This project is read-only.


SCCM2012 IP for SCO2012 SP1 "Get Patch Dates" Error


We ran into an error in our Production environment with "Get patch dates". We have a runbook that executes every hour, and this object was working until 11pm 12/10/2013. When midnight hit it began to error out. I was able to reproduce this error on our Staging runbook server as well. I physically changed the date on our server to 12/10/2013 and the runbook ran without issue. If we move the date to 2014 the runbook will again run until December 10th 2014. I'm just checking to see if anyone else has also run into this issue?

Here's the error text:

Year, Month, and Day parameters describe an un-representable DateTime.

Exception: ArgumentOutOfRangeException
Target site: DateTime.DateToTicks

Stack trace:
at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at OpalisAddOn.Schedules.PatchDates.PatchDay(Int32 year, Int32 month, Int32 hour, Int32 minute, Int32 second)
at OpalisAddOn.Schedules.PatchDates.Execute(IActivityRequest request, IActivityResponse response)



file attachments


rzander wrote Dec 12, 2013 at 11:15 AM

Issue is fixed in changeset 28406 (
Fixed Files attached...

wrote Dec 12, 2013 at 11:16 AM

wrote Dec 12, 2013 at 11:18 AM

jimmy1234 wrote Dec 13, 2013 at 5:22 PM

Thank you, the dll's that were provided look like they resolved the issue.

wrote Fri at 12:18 PM