Equisys technical notes

Technical guidance, explanations and fixes for our products

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



ID: ZTN4243

This Zetadocs technical note applies to:

  • Version 5.5 of Zetadocs for NAV


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


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.


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)


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

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


Recent news

I was sitting across the boardroom table from one of our MS Dynamics partners recently, and I was (pleasantly) taken aback when he said enthusiastically “we love selling your software because it ...

Expense management is a factor in all businesses where employees travel for their work or are based remotely. The challenge is always to make the processes around it more efficient by reducing ...