0x80040111SystemMedium

Error 0x80040111 — Class Not Available (CLASS_E_CLASSNOTAVAILABLE) | Windows System Error Fix

Windows 11Windows 10Windows Server 2022

What Does 0x80040111 Mean?

The COM class factory is not available. The component exists but cannot be instantiated.

Real-World Causes

  1. 1COM server DLL exists but its class factory function fails
  2. 2Component requires elevation but is called from a non-elevated process
  3. 3Component has licensing restrictions preventing instantiation
  4. 4DLL is present but corrupted

Symptoms

  • COM-dependent features fail despite the DLL being present
  • Application reports component is unavailable
  • Automation scripts fail with class not available
  • ActiveX controls fail to load

DIY Fix

Beginner-friendly steps you can try at home

  1. 1Reinstall the application providing the COM component
  2. 2Run the application as administrator
  3. 3Re-register the COM DLL: 'regsvr32 /u component.dll' then 'regsvr32 component.dll'
  4. 4Check if the component requires a license or activation

Advanced Fix

For experienced users and IT professionals

  1. 1Use Process Monitor to trace the DllGetClassObject call and see why it fails
  2. 2Check the DLL for corruption: compare its hash with a known-good copy

Frequently Asked Questions

How is this different from class not registered?
Class not registered (0x80040154) means Windows cannot find the COM class in the registry at all. Class not available (0x80040111) means the class is registered and the DLL is found, but the component cannot create an instance of the class — usually due to an internal failure.

Related Error Codes

About the Author

Windows Troubleshooting Team

Verified against official Microsoft documentation and real-world diagnostic data. Error behavior confirmed across Windows 10, Windows 11, and Windows Server.