How is your riding position on the bike, are you a masher or spinner? Lowering the saddle(slightly) and not using tight toe clips/clipless pedals, as well as riding 1-2 gears lower has been my work around for knee pain. I have one knee that was trashed in a race crash 35 years ago and it still occasionally give me the fits.
Aaron