Are you using an 18F252 or 18F2525?

The 18F252 doesn't have any A/D on PORTB or an internal oscillator!