The value %1!d! specified for the scale parameter of the cast to data type "%2!s!" is not valid. The scale must be in the ...

The value %1!d! specified for the scale parameter of the cast to data type "%2!s!" is not valid. The scale must be in the range %3!d! to %4!d! and the scale value is out of range for the type cast. Scale must not exceed precision and must be positive.