The function "%1!s!" does not support the data type "%2!s!" for parameter number %3!d!. The type of the parameter could not ...

The function "%1!s!" does not support the data type "%2!s!" for parameter number %3!d!. The type of the parameter could not be implicitly cast into a compatible type for the function. To perform this operation, the operand needs to be explicitly cast with a cast operator.