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

Name:
Email:
Subject:
Message:
x
EquisysLogo

Recent news

This article describes the new features and other improvements in the September 2018 release of the Zetadocs Expenses service. Zetadocs ...

Most people wouldn’t buy a new product (depending on the type and price of product) without testing, trying, reviewing or receiving a demonstration of it first. Specialist business software (such ...