Lately I have been talking with some people, which have received the error “Could Not Load Type Library”. All these errors were caused by missing registration of the NSAppHandler.dll.
The NSAppHandler.dll can be registered in the following steps:
1) Open a command prompt – remember to do it as Administrator or else you dll won’t be registered
2) Change to your directory with the dll – for me it was C:\Program Files\Common Files\Microsoft Dynamics NAV\Application Handler
3) Register it manually with the help of regsvr32
– Try first regsvr32 NSAppHandler.dll – if this fails, then try regsvr32 /i NSAppHandler.dll
Also notice, that the NSAppHandler.dll is not completely compliant with all Office versions – so you might need to install an older one, as the one that did come with your Navision version.
If you have installed a “wrong” version – then remember to unregister your NSAppHandler.dll before installing the new one – and of course close your NAV Client during the NSAppHandler.dll switch. (Unregister is done by using regsvr32 /u NSAppHandler.dll)