hi Bianca,
some info please
Are you running manually codeunit and by NAS on the some machine ?
If not, try to compile objects on NAS Server
Are you using NAS on NAV 2013 integrated service or an older release ?
Are you using Office (Outlook) 32 or 64 bit ?
Are you using DOMAIN\admin user to run service ?
a nice link: