Technical Notes, Zetadocs

PRB: Error on attempting to open a page modified to include the Zetadocs Documents Factbox

ZTN4243

ID: ZTN4243

This Zetadocs technical note applies to:

  • Version 5.5 of Zetadocs for NAV

Symptom

When attempting to open a modified page the following error message is displayed:

Cause

This can be caused by a problem compiling codeunit 9041212 – Zetadocs Common.  When attempting to compile that codeunit, the error “Could not load selected type library” is displayed.

The cause of that error is a problem with the COM registration of the “Microsoft Script Control 1.0” automation library.

Resolution

To correct this problem it is necessary to re-register the msscript.ocx.  To do this, please follow the steps below:

  • Open a command prompt as administrator.
  • Change to the following directory depending on your operating system:
    • X86: C:\Windows\System32\
    • X64: C:\Windows\SysWOW64\
  • Run the following command:
    • Regsvr32 msscript.ocx
  • A message will be displayed saying that registration was successful.
  • Re-Compile CodeUnit 9041212 – Zetadocs Common in the Microsoft Dynamics NAV Development Environment (Classic Client)

Status

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

Last updated: 4th April 2013  (JW/MW)