When I try to syncronize Outlook data with my Navision CRM (3.60), I get this errormessage: “This message is for C/AL programmers: Invalid assignment. It is not possible to assign a_OApplication to a OApplication”. I have a feeling it has something to do with the Microsoft CDO-components, but have not been able to solve it so far. On the computers involved there are different versions of the NS Outlook Syncronization Handler (versions 1.1 and 1.7). Any ideas on how to solve it?
I had the same problem, and solved it by simply recompiling the objects. I don’t know if I just got lucky or if there is a sound reason for that working. However, it helped me advance to the next problem [;)]
Compiling the objects has not helped me so far (syncronization works on my computer but my collegue who links to the same Navision server gets the errormessage). On the Partnerguide there are several issues concerning that problem from all over the world, but none of the replies seem to work. And I would really like to get the full explanation this time, since it keeps happening.
Are you running a newer version of Outlook than your partner? If so, then you need to recompile/re-code the objects on his/her machine. The Outlook automation should then work on both.