Technical Notes, Zetadocs

PRB: Outlook warnings are displayed when sending documents from the Zetadocs Client

ZTN3604

ID: ZTN3604

This Zetadocs technical note applies to:

  • Version 9.0 of Zetadocs PDF
  • Version 5.5 of Zetadocs for Microsoft Dynamics NAV and later

Symptom

When emailing documents with the Zetadocs Client integrated with Outlook the following warning message is displayed:

After allowing access, the following warning message is displayed for each document being sent:

Cause

These messages are displayed because of a change in the mechanism that is used by the Zetadocs Client to communicate with Outlook.  By default the Zetadocs Client now uses the Outlook Object Model to send messages with Outlook.  This change was made to follow Microsoft best practice and also to allow support of 64 bit versions of Outlook.

There are security settings in Outlook that determine how it will respond to other applications using the Outlook Object Model.  With the default setting, Outlook will show the security warnings above if the anti-virus on the machine is not up to date.

Resolution

The recommended solution to this problem is to update the anti-virus on the machine.  Once that has been done the warnings will no longer be displayed.

However, some server operating systems do not support anti-virus detection in Outlook and in this case if you maintain up to date anti-virus software we recommend turning off the Outlook security warnings. To do this please follow the steps below:

  • Open Outlook and go to Options -> Trust Center -> Trust Center Settings… -> Programmatic Access.
  • Change the “Programmatic Access Security” option to “Never warn me about suspicious activity (not recommended)” as shown below:

For systems with large number of users it may not be appropriate to have every user have to set the setting above.  In this case the setting can be set by adding registry keys with a logon script.  The registry key to use is listed below.  Please pick the appropriate one for your system:

Outlook 2007

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Outlook\Security

DWORD: ObjectModelGuard

Value: 2

Outlook 2010

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Outlook\Security

DWORD: ObjectModelGuard

Value: 2

Outlook 2013

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Outlook\Security

DWORD: ObjectModelGuard

Value: 2

Please note: If using a 32 bit version of Outlook on a 64 bit operating system, please adjust the registry keys above so that they are placed under the Wow6432Node.

References

http://office.microsoft.com/en-gb/outlook-help/HV080800429.aspx

http://msdn.microsoft.com/en-us/library/bb226709.aspx

Status

This has been identified by Equisys as a problem with the software versions given above.

Last updated: 31st July 2013 (JW/MW)