I have encountered problems when running Outlook Synchronization. If you know how to resolve them, please let me know.
I am running Nav 4.03 (build 23305) on a SQL 2008 database.
My PC has Win XP, and Office 2007.
When running Outlook Synchronization, I get the following error:
Could not invoke the member Restrict. The OLE control or Automation server returned the following message: The requested member does not exist, or the call tried to set the value of a read-only property.
This error happens on the following line in Report 5171 (Import Contacts – On PreDataItem):
OLContacts := OLContacts.Restrict('[Sensitivity] <> 2');
Another user, who has Outlook 2003, runs into a different error in Report 5171 (Import Contacts – OnAfterGetRecord):
“The Automation variable has not been instantiated.”
There is no customization on any object whose title contains “Outlook” or “Sync”.
Regards,
Alastair
Alastair Farrugia
0
Answers
However, I do have a solution to the second problem (“The Automation variable has not been instantiated.”).
Report 5171 (Synchronize with Outlook) has various checks like the following: However, these are in the OnPreDataItem trigger, where SKIP has no effect - it should be changed to BREAK, and then the report works well.