Bending surfaces

Hello,
I have problem with bending two surfaces.
As it can be seen in the screenshot the red surfaces can't be blended and the error message(The tool failed to create a surface between the polycurves.) appears at the bottom.
The polycurves have been imported from a DXF file.
I appreciate it if you can help me.
Thank you.