FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

Error “REGDB_E_CLASSNOTREG” upon Startup

Home page Community General Error “REGDB_E_CLASSNOTREG” upon Startup

Viewing 3 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #34741
    Andreas Kollmann
    Participant

    On a particular (Win11) PC I cannot get Flexpro to run because everytime on startup i get this error “REGDB_E_CLASSNOTREG” twice.

    First error message is “Error creating Addin Host”, second message is “Cant initialize VBA”.

    I have tried, reinstalling, installing an older version, repairing, but nothing seems to work.

    #34746
    Adrian Giurca
    Keymaster

    Hi Andreas,

     

    installation problems can be sent even without support from the respective web site form: https://www.weisang.com/en/support/flexpro-support/

     

    To answer your question:

    The reported error messages are due to incorrect or failed installation of the VBA components.

     

    Please look into the folder “%LOCALAPPDATA%Downloaded InstallationsFlexPro 2021 Suite”. If you find 6 folders with names like “VBA-*-x64” proceed as following:

     

    Open a command line window (cmd) with administrative privileges and navigate to this folder with the command

     

    cd /D %LOCALAPPDATA%Downloaded InstallationsFlexPro 2021 Suite

     

    Each of the VBA-* folders contain a .msi installation file that can also be used for uninstalling the associated component with the following commands

     

    msiexec /q /x VBA-Core-x64Vba71.msi

    msiexec /q /x VBA-CHS-x64Vba71_2052.msi

    msiexec /q /x VBA-DEU-x64Vba71_1031.msi

    msiexec /q /x VBA-ENU-x64Vba71_1033.MSI

    msiexec /q /x VBA-FRA-x64Vba71_1036.msi

    msiexec /q /x VBA-JPN-x64Vba71_1041.msi

     

    Now FlexPro can be uninstalled and reinstalled again to cope with this issue.

     

    If on the other hands, the folders named “VBA-*-x64” are missing, please follow this procedure:

     

    Open the registry editor (regedit) with administrative privileges and maneuver to the key

     

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftVBAVBA7.1

     

    In the subkey InstalledBy you find entries (beside (Standard)) for each program that installed VBA 7.1 (x64). The FlexPro entry has the key

     

    {A9094AA5-B5F1-49F2-A5C7-8F0BFEE7DB35}   (for FlexPro 2019)

    {ED93C4E1-2948-4671-BAFC-FDD3BB014C23}  (for FlexPro 2021)

     

    If this is the only key, you can safely remove the key

     

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftVBAVBA7.1

     

    and uninstall and reinstall FlexPro.

    Best regards,
    Adrian Giurca

    #34747
    Andreas Kollmann
    Participant

    Thank you very much, I removed the key and reinstalled. Now it works!

Viewing 3 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.