Midi setup issues? or playback issues?

Hi
I have had my computer wiped out, I think I pushed the wrong button during recovery! and now I’ve forgotten how midi was set up; I’m not new to midi but when I have reinstalled C5 and recording midi why is playback sustained and why does it only play the first note I played? long and sustained.
Both midi in/out are going through the interface like they were before.
I have dismantled all hardware, had to reinstall C5 and completely start from scratch.
I’m definitely not doing something right here. Any ideas?