can you clarify what a box section is?
an image will help or better, upload the geometry (3dm file) that shows the shape you try to extrude.
Closed curves can be extruded to a solid shape with the _Extrude command.
_SelClosedCrv and _SelOpenCrv might help you find if there is an issue.
Your outer profile is not a closed loop. It also has overlapping segments. Select all of the parts, Explode. Then use SelDup, Delete the dupes that are found and then join. You will now have 2 nested closed curves. Your solid extrusion will then work.
You can also select the whole profile mess and use CurveBoolean on it to fix it in one go.