Hi,
I am running into an issue with a task when selecting the all rows for a task.

The following error occurs:
System.InvalidCastException: Failed to convert parameter value from a DateTimeOffset to a DateTime.
---> System.InvalidCastException: Object must implement IConvertible.
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Microsoft.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType, Boolean& coercedToDataFeed, Boolean& typeChanged, Boolean allowStreaming)
The error specifically occurs when using the all rows. When I go through all the 200 rows 50 by 50, no error occurs.

I do not understand why this error is occuring and how to solve this issue.
Kind regards
Mark Leunissen

