If the solution is at the Dsub end then this is a common problem - ie the pins , especially 13 & 25 in your case, can retract just by moving the wiring loom. Remove the connector and flex the wiring loom while watching the pins, you'll see what I mean.
Jake J