The metadata could not be determined because the statement '%1!s!' in the main batch is not compatible with the statement ...