Run-time ActiveX error 429; ActiveX component can’t create object

< Back
You are here:
Print

Run-time ActiveX error 429; ActiveX component can’t create object

The issue applies to all IDAutomation products that include ActiveX or .NET COM DLLs such as Barcode ActiveX Controls and 2D Font Encoders such as the 2D QR-Code Font and Encoder.

Solution(s):

This error may occur because the ActiveX or .NET COM DLL being accessed is not registered on the system.

  1. Install the Microsoft .NET Framework if it is not installed.
  2. Close all open applications and delete files in the %TEMP% folder. To easily access this folder, open the command prompt and type the following pressing Enter after each line:
    CD %TEMP%
    DEL *.* /S
  3. Obtain the latest version of the IDAutomation Barcode product being used.
  4. Reinstall the component package. This should automatically register the DLL.
  5. If problems continue, try the manual process below.

To register the DLL manually, perform the following:

  • Open the command window as Administrator. This is usually located in Start – Programs – Accessories or type CMD from the search area.
  • Change to the directory the DLL is located in; which is usually the %systemroot%\System32 directory. On 64 bit systems, the DLL may also be in %systemroot%\syswow64. In 64-bit versions of Windows, there are two versions of the Regsv32.exe files:
    The 64-bit version is %systemroot%\System32\regsvr32.exe, where 64 bit DLLs are located.
    The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe, where 32 bit DLLs are located.
  • Type the following at the command prompt:
    REGSVR32 file.dll
    where file.dll is the name of the DLL to be registered.
  • If a DLL entry-point DllRegisterServer error is received after running regsvr32, the DLL must be registered with RegAsm.exe instead. To do this, verify the .NET Framework is installed and type the following at the command prompt:
    For .NET Framework 2.0-3.5:
    C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase /tlb file.dll
    For .NET Framework 4:
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe /codebase /tlb file.dll
    where file.dll is the name of the DLL to be registered and C:\Windows\Microsoft.NET\Framework\* is the path to the RegAsm.exe file.