What part of the knees are hurting? Generally if the "back of the knee" is hurting it can be from too hard a gear and/or the saddle too high. If the front of the knee is where the pain is then the saddle might be too low.
__________________
Ride your Ride!!