Equisys technical notes

Technical guidance, explanations and fixes for our products

HOWTO: Stop the "A control add-in library in 64-bit format is expected." error from showing in event log

Print

ZTN4505

This Zetadocs technical note applies to:

  • Zetadocs for NAV
  • Microsoft Dynamics 64 bit Clients

Summary

Since the release of Dynamics 2016, Microsoft introduced a 64 bit client for NAV and Zetadocs modifications to pages contain two FactBoxes so that both types of clients are supported without code modifications. This in turn makes NAV write a log entry in the event log that states “A control add-in library in 64-bit format is expected”. In order to avoid this log from showing you will need to follow the instructions in this technote.

More information

To avoid the logs from showing up you will need to follow the steps below for each page that have been modified with the Zetadocs Factbox:

1-     Open the NAV Development Environment

2-     Select the page that contains the Zetadocs Factbox and design it.

3-     Remove from the page the following entry:

4-     Open the Code view(F9) and go to the function OnAfterGetCurrRecord and delete the following code:

IF ZDWinAddinVisible THEN

BEGIN

  CurrPage.Zetadocs.PAGE.SetRecordID(ZdRecRef.RECORDID);

  CurrPage.Zetadocs.PAGE.UPDATE(TRUE);

END;

5-     Save, Close and compile the page.

Last updated: 8th December 2017 (JC) 

Keywords: capture addin, 32-bit factbox, Zetadocs Express, Zetadocs Capture

Equisys Logo, Document Management and Expense Management for Business Central
 

Replaced by script
Recent news

The sudden rush towards remote working practices in 2020 led many organizations to implement changes to upgrade their document capture processes on Microsoft Dynamics 365 Business Central or ...

Company credit cards are often seen as the most convenient way to incur travel & entertainment expenses, however it can be a very different story when it comes to the administration of these ...

North America
 
Equisys Inc
30000 Mill Creek Avenue
Suite 335
Alpharetta, GA 30022
USA
(770) 772 7201
Europe
 
Equisys Ltd
91 Southwark Bridge Road
London
SE1 0AX
United Kingdom
+44 (0)20 7203 4000
 

© Equisys Ltd
All rights reserved

© Equisys Ltd    All rights reserved    Contact    Privacy policy    Cookies