I had this same trouble with dominions 2, then i discovered Province defence and everything was swell.
Make sure you are using PD. Make sure you build forts in stratigic locations with high resources. MAke sure you have mages and preists escort your armies.