Error When Trying to Import an External Form in the Designer

The information in this article applies to product: e-Work 6.x

Issue

  • When trying to import a PDF form as an external form in the Designer, the user receives a message similar to the following: "Cannot find a form interface DLL for C:\\Tests\\Test.pdf".

Resolution

  • Note that the following resolution applies to other external forms as well, e.g. HTM or HTML.
  • Verify that the external forms definitions have been created. This can be done in the Designer. Go to View --> External Forms. Make sure the PDF extension is listed and the form interface is correct. The default path is C:\\Program Files\\Metastorm e-Work\\Designer\\EWPDF.dll. If the form interface is missing, verify that the file EWPDF.dll is installed on the computer, then add the path.

    If it's not installed, run a 'Repair' of e-Work through Add or Remove Programs. Go to Start --> Settings --> Control Panel --> Add or Remove Programs. Select Metastorm e-Work, click Change, and then select the Repair option in the installer and continue. Afterwards, verify that the external form definition has been added.

    A standard installation of the Designer will have 3 extensions defined: htm, html, and pdf. Registry entries for these are necessary and can be found in HKEY\_CURRENT\_USER\\Software\\Metastorm\\e-work\\Designer\\ExternalForms. The following is an export of the default key ExternalForms and its subkeys (i.e. the contents of the .reg file):

    Windows Registry Editor Version 5.00

    \[HKEY\_CURRENT\_USER\\Software\\Metastorm\\e-work\\Designer\\ExternalForms\]
    @=""

    \[HKEY\_CURRENT\_USER\\Software\\Metastorm\\e-work\\Designer\\ExternalForms\\htm\]
    @=""
    "DESCRIPTION"="htm forms"
    "DLL"="C:\\\\Program Files\\\\Metastorm e-Work\\\\Designer\\\\EWHTML.dll"

    \[HKEY\_CURRENT\_USER\\Software\\Metastorm\\e-work\\Designer\\ExternalForms\\html\]
    @=""
    "DESCRIPTION"="html forms"
    "DLL"="C:\\\\Program Files\\\\Metastorm e-Work\\\\Designer\\\\EWHTML.dll"

    \[HKEY\_CURRENT\_USER\\Software\\Metastorm\\e-work\\Designer\\ExternalForms\\pdf\]
    @=""
    "DESCRIPTION"="pdf forms"
    "DLL"="C:\\\\Program Files\\\\Metastorm e-Work\\\\Designer\\\\EWPDF.dll"

  • See the Designer User Manual for additional information.
Tagged: