I presume you are using a 18F1320 as your chosen device.

Also are you setting your own fuses at the beginning of your code. If you are, you need to disable to predefined and default ones in the .INC file.

Regards,

Steve