Array modifier fit curve option( curve direction problem(already Ctrl+A applied, but failed to fix) I'm trying to wall model following a path curve, 
so used array modifier, and used 'Fit curve' option 

problem is 

the wall model does not follow the curve path while duplicating the wall object like the first image(below)

I applied scale and rotation (Ctrl +a) and the T panel's number seems not wrong.
and I checked the origin of the object and curve several times.
But I couldn't find the clue at all. 

How can I fix this problem? 

Thank you for your time and help in advance;  



Here is my blend file
It works better when you use the Curve modifier.

1) Go to Edit mode and rotate your mesh 90 degrees so it aligns better with the curve.
2) Set array modifier to Count or Length
3) Add a Curve Modifier and set the target to your curve.  

Rotate your mesh in edit mode.


Set Array modifier to Count and add a Curve modifier


Voilà!

And here is the edited file.