You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recieve the following error in the Event Viewer:
I can see in the following in the log file:
2023-11-10 02:15:33.8571| INFO|Clearing run history older than 7.00:00:00
2023-11-10 02:15:34.4665|TRACE|Timer elapsed. Next event at 10/11/2023 2:30:34 AM
2023-11-10 02:16:04.2669|ERROR|An error occurred clearing the run historySystem.NullReferenceException: Object reference not set to an instance of an object.
at Lithnet.Miiserver.Client.SyncServer.SaveRunHistory(DateTime beforeDate, String filename)
at Lithnet.Miiserver.Client.SyncServer.ClearRunHistory(DateTime clearBeforeDate, String filename)
at Lithnet.Miiserver.AutoSync.Program.ClearRunHistory()
2023-11-10 10:15:33.8436| INFO|Clearing run history older than 7.00:00:00
2023-11-10 10:15:34.7186|TRACE|Timer elapsed. Next event at 10/11/2023 10:30:34 AM
2023-11-10 10:16:06.5875|ERROR|An error occurred clearing the run historySystem.NullReferenceException: Object reference not set to an instance of an object.
at Lithnet.Miiserver.Client.SyncServer.SaveRunHistory(DateTime beforeDate, String filename)
at Lithnet.Miiserver.Client.SyncServer.ClearRunHistory(DateTime clearBeforeDate, String filename)
at Lithnet.Miiserver.AutoSync.Program.ClearRunHistory()
The Lithnet service account got full permissions to the folder as it's writing the log files to this directory as well.
When I uncheck "Save run history before clearing", it clears the history without any issues.
Is there anything else I must configure to be able to save the history?
Regards,
André
The text was updated successfully, but these errors were encountered:
That's a bit strange. It sounds like there might be a run history item that is corrupted. Do you get any similar error when clear/savings the runs in the sync service itself?
Can you let me know the version of Lithnet.Miiserver.Client.dll found in the Lithnet AutoSync program files folder?
________________________________
From: Ryan Newington ***@***.***>
Sent: Saturday, 11 November 2023 06:43
To: lithnet/miis-autosync ***@***.***>
Cc: mwwessie ***@***.***>; Mention ***@***.***>
Subject: Re: [lithnet/miis-autosync] An error occurred clearing the run history (Issue #184)
@mwwessie<https://github.com/mwwessie>
That's a bit strange. It sounds like there might be a run history item that is corrupted. Do you get any similar error when clear/savings the runs in the sync service itself?
Can you let me know the version of Lithnet.Miiserver.Client.dll found in the Lithnet AutoSync program files folder?
—
Reply to this email directly, view it on GitHub<#184 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGPOXXYWXRMBE75FF37DY7DYD2GWPAVCNFSM6AAAAAA7FLV4GOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGQYDMOBXHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
We have enabled Clear Run History as shown below:
We recieve the following error in the Event Viewer:
I can see in the following in the log file:
The Lithnet service account got full permissions to the folder as it's writing the log files to this directory as well.
When I uncheck "Save run history before clearing", it clears the history without any issues.
Is there anything else I must configure to be able to save the history?
Regards,
André
The text was updated successfully, but these errors were encountered: