Could be a direct control thing...
The knife can only be thrown.
Put the knife in your 2nd hand (right hand) and select it like you select a
grenade... then target enemy from a short distance... Your solider should throw it but will not if the enemy is in full cover (behind good protection).
Hope this helps!