Please have a look at what version of “NS Outlook Synchronization Handler” automation you are using and try to recompile the codeunit 397 again.
You can also try to create a simple codeunit base on the 397 one and test it. The problem might be the compatibility between the NAV 2009 and the Outlook libraries you have in that computer.