Message <Context> "<source type>" is <type> type, which is not scalar. Description In a cast expression, the destination type of the cast is not a scalar type. This is not valid. Both the source and target type of a cast must be scalars. User Action Modify the cast destination type so that it is a scalar type.