| Previous | Next |
| COMADMIN_E_DLLLOADFAILED | COMADMIN_E_APPDIRNOTFOUND |
COMADMIN_E_BADREGISTRYLIBID
COMADMIN_E_BADREGISTRYLIBID is the failure HRESULT 0x8011041E (signed decimal -2146368482, unsigned decimal 2148598814). Its severity bit is 1, facility is 17 (FACILITY_ITF), and the facility-specific code field is 0x041E.
COM registration, type library, and component installation: exact meaning of COMADMIN_E_BADREGISTRYLIBID
The registered type-library identifier is invalid or inconsistent. COM+ follows component registration to a TypeLib value and cannot use the referenced LIBID.
AllStat records this condition as “The registered TypeLib ID is not valid”.
Evidence to collect before repair
- The
COMADMIN_E_BADREGISTRYLIBIDinvestigation needs CLSID/IID/LIBID values and 32/64-bit registry view so the exact failing boundary remains reconstructable. - For
COMADMIN_E_BADREGISTRYLIBID, preserve component, type-library, and proxy/stub paths with hashes; it anchors the failure to the real administration object. - Evidence for
COMADMIN_E_BADREGISTRYLIBIDshould include loader or DllRegisterServer/DllGetClassObject result, captured before a repair changes state. - Collect COM+ installation ErrorInfo and relevant event records when diagnosing
COMADMIN_E_BADREGISTRYLIBID; without it the symbolic HRESULT is underdetermined.
Where COMADMIN_E_BADREGISTRYLIBID occurs
The COM+ catalog presents a split view of RegDB and Windows class/type-library registration, so the failing stage must be identified before editing either store. In the specific case of COMADMIN_E_BADREGISTRYLIBID, record CLSID, TypeLib value, version, LCID, registry view, and whether the referenced type library can be loaded.
Diagnostic sequence for COMADMIN_E_BADREGISTRYLIBID
- To isolate
COMADMIN_E_BADREGISTRYLIBID, verify the exact binary architecture and dependencies. - For
COMADMIN_E_BADREGISTRYLIBID, load and inspect the matching type library without substituting another version. - At the
COMADMIN_E_BADREGISTRYLIBIDboundary, repair registration using the component installer. - The next
COMADMIN_E_BADREGISTRYLIBIDdiagnostic action is to install rather than import when full interface metadata is required. - To isolate
COMADMIN_E_BADREGISTRYLIBID, repopulate the catalog and test class activation after repair.
Retry and recovery
Repair the component/type-library registration through the installer and reinstall the component.
Practical administration scenario
A copied registry fragment contains a malformed TypeLib GUID, so COM+ cannot connect the class to its interface metadata.
Difference from nearby COMADMIN results
COMADMIN_E_COMPFILE_BADTLB means the actual type library cannot be loaded; this value focuses on the registered LIBID metadata.
Official Microsoft references for COMADMIN_E_BADREGISTRYLIBID
- Microsoft: COMADMIN error codes
- Microsoft: the COM+ catalog
- Microsoft: ICOMAdminCatalog::InstallComponent
- Microsoft: installing new components
- Microsoft: Components collection
Looking for a different code? Search another status or error code.