Type Library

Hi, Can anyone give me an insight into what i need to do to stop getting the error ‘Cannot load the selected type library’ when compiling Table 5062 and Codeunit 5064 in v3.60? We have tried it on a variety of O/S and office versions (up to win XP and office XP) but to no avail. From looking at past postings on this site, it would appear to be a problem with the CDO handler and the setup of it in outlook. But the real issue is what exactly do i need to do to fix it. Any suggestions? Thanks in advance, John

Hi What CDO version you are using.Because Codeunit 5064 using Automation ‘Microsoft CDO 1.21 Library’.Session If your CDO version is something else then Navision will not allow to compile.

Thanks for your help Rajesh. I will take a look and see if this is the problem. If not i will let you know. Thanks again. John

Just checking to see if i am looking in the right place. I have found one file that is 1.21, within common files\mapi\1033. Is this the correct file/version? Any help much appreciated. If this is the correct file or version, any ideas why i still can’t compile the objects?

I’ve been getting the same problem ! CDO 1.21 can be installed as part of Outlook I found a reference off the greatplains FAQ site that the PC may be referencing an old version of nsapphandler & that the a new client installation does not overwrite the old (?) My solution 1. run regedit 2. remove all references to nsapphandler 3. in \program files\common files\navision\application handler locate nsapphandler.dll 4. register it with regsvr32 Result!

Thanks Simon, I had forgotten i had posted this. Thanks for posting a useful conclusion for me. Much appreciated [:D]. John