The position vector is a function oftwovariables. The "second differential" with respect to which variable? If, for example, we take, as parametric equations for the unit sphere, then and then themixedderivative is and the dot product of that with is so the mixed second derivative is perpendicular to the surface.

But the second derivative with respect to both times is and that is NOT perpendicular to the surface.