It seems that on or more parameters have wrong values - AX tries to convert it to the right type, but it isn't possible, so it throws an exception. I see that you're passing string values for date parameters, which looks wrong. I can't comment on other arguments, because you didn't show their types.
If you can't figure it out, It might be worth providing a self-containing piece of code that others can run and test. I don't have such an old version of AX, but maybe it can be reproduced in AX 2012.