• Hi guys, I am using the CLR and for some reason I get this error :

    A .NET Framework error occurred during execution of user-defined routine or aggregate "Agg_Median":

    System.InvalidCastException: Specified cast is not valid.

    System.InvalidCastException:

    at Agg_Median.Write(BinaryWriter ToBeSerialized)

    Any idea on how to fix this?

    Thanks