Outlook integration error

DenSterDenSter Member Posts: 8,307
edited 2004-02-11 in Navision Attain
Hey all,

This is about the one where you have to register a different version of the application handler. I used to get the error that says 'cannot load...blah blah', so I unregistered the dll, registered the one from the product cd, and now I get another C/AL error:

This message is for C/AL programmers: This automation variable has not been instantiated. You can instantiate it by either creating or assigning it.

The frustrating thing is that the codeunits refer to an unknown automation server, and I just can't find which one it is supposed to point to. When I open the globals, I see the variable OLHandler pointing to "Unknown Automation Server.OApplication". If I select anything Outlook or Navision, I get a different classlist.

Does anybody know which one to select, or what I am missing here?

Thanks

Comments

  • GoMaDGoMaD Member Posts: 313
    When you get that error it means that the correct dll is not installed or registered on you PC.

    If you export the codeunit into a text file, you can see which GUI Navision uses to refer to the DLL.

    With this GUI you can find which DLL to use. On the internet or on a PC where the setup works. (For the later you have to search in the Registry)

    Greetings,
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
  • DenSterDenSter Member Posts: 8,307
    No that's the other message. This is not a matter of the incorrect dll, I had already registered the correct dll. it is poor programming on Navision's part. The code that generated the error was trying to access a method of a class that was not created. I added a CREATE statement right before the statement that errored and it went right through.
Sign In or Register to comment.