Curving path using curved profile
The curve will make Y &quot;up&quot;:

Make sure the wanted top part of the bevel object is oriented to Y with no rotation in object mode.
In your original file, the curve as no width because the bevel object has no size in Y. So all its vertices are along the curve.