Do you have
ADCON1 = 7
someplace in your code. ( I think that is correct for your chip, might be ANSEL )