Search code examples
tridiontridion-2011

Unable to load DLL 'xmogrt': from Tridion metadata query


I'm trying to use the CustomMetaKeyCriteria class to pull back content from the Broker DB based upon some metadata I set up. However, I get the error listed below. Any ideas? That dll is in my bin folder & I confirmed it is the 32 bit version, as this code is running on a 32 bit box. I missed some set up obviously, but what?

Unable to load DLL 'xmogrt': The specified module could not be found. (Exception from HRESULT: 0x8007007E)


Solution

  • Check if you have the rest of the dll dependencies for this file?

    In my install folder for x86 I see the following DLLs:

    • MSVCP71.dll
    • MSVCR71.dll
    • netrtsn.dll
    • Tridion.ContentDelivery.Configuration.dll
    • Tridion.ContentDelivery.dll
    • Tridion.ContentDelivery.Interop.dll
    • xmogrt.dll

    EDIT: And the following Tridion jars:

    • cd_broker
    • cd_cache
    • cd_core
    • cd_datalayer
    • cd_deployer
    • cd_linking
    • cd_model
    • cd_tcdl (not usually needed)

    You should probably check cd_core_log for additional details, maybe you're missing one of the 3rd party jars.