KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: “The database or component needs to be recompiled” error
PRODUCT: 4D | VERSION: 19 R | PLATFORM: Mac & Win
Published On: December 27, 2022

When launching a host application that includes components, errors may be encountered that state the following:

“Can’t load component {component_name}.”
“The database or component {component_name} needs to be recompiled.”


This usually happens when the component was compiled in a Feature (R) Release version that is newer than the version that is being used to launch the host. For example, if the component was compiled in v19 R6 and added to the components of a host application that is then launched in v19 R5, the errors will occur. The same errors will also occur if the host is launched in an LTS (dot) version. To avoid these errors, make sure to launch the host in the same version or newer, or recompile the component in an older version.