Equisys Technical Notes

Technical guidance, explanations and fixes for our products

TechNotes_Parallax

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

EquisysLogo

Recent news

According to a study produced by the Association of Accounting Technicians (AAT), the average UK worker will claim a total of £134,617.84 over the course of their working life, which equates to ...

“The cloud” means many things to many people. For some, it’s using a mobile app such as email on a mobile phone. But for others, it represents an opportunity to revolutionize how we do and run ...