CDISP0041E

A type mismatch exists in the following cast: (cast type) expression type.

Casting a value of the expression type to a value of the cast type is not valid.
Ensure that the cast type is valid for the expression type.