Hresult 0x80004002

  1. Exception From Hresult 0x80004002
  2. Hresult 0x80004005
  3. 80004002 No Such Interface Supported
  4. Hresult 0x8007000e
-->Hresult

Outlook Error: HRESULT: 0x80004002 (ENOINTERFACE) Rasmus Jensen December 10, 2019 12:09; Reason Outlook installation is corrupt. Solution Go to Windows Control. Outlook Error: HRESULT: 0x80004002 (ENOINTERFACE). (Exception from HRESULT: 0x80004023) Guide - Generating a Right to Left (RTL) HTML Email in B1 Print and Delivery.

The following HRESULT values are the most common. More values are contained in the header file Winerror.h.

Here are the values listed alphabetically by name.

NameDescriptionValue
S_OKOperation successful0x00000000
E_ABORTOperation aborted0x80004004
E_ACCESSDENIEDGeneral access denied error0x80070005
E_FAILUnspecified failure0x80004005
E_HANDLEHandle that is not valid0x80070006
E_INVALIDARGOne or more arguments are not valid0x80070057
E_NOINTERFACENo such interface supported0x80004002
E_NOTIMPLNot implemented0x80004001
E_OUTOFMEMORYFailed to allocate necessary memory0x8007000E
E_POINTERPointer that is not valid0x80004003
E_UNEXPECTEDUnexpected failure0x8000FFFF

Here are the values listed in numeric order by value.

ValueNameDescription
0x00000000S_OKOperation successful
0x80004001E_NOTIMPLNot implemented
0x80004002E_NOINTERFACENo such interface supported
0x80004003E_POINTERPointer that is not valid
0x80004004E_ABORTOperation aborted
0x80004005E_FAILUnspecified failure
0x8000FFFFE_UNEXPECTEDUnexpected failure
0x80070005E_ACCESSDENIEDGeneral access denied error
0x80070006E_HANDLEHandle that is not valid
0x8007000EE_OUTOFMEMORYFailed to allocate necessary memory
0x80070057E_INVALIDARGOne or more arguments are not valid

I decompiled an application that connects to the LF Client, runs a search query, and generates a report based on the results. Then I made a few changes that have nothing to do with this error, compiled, and tried to run it. I'm able to get as far as the query, but when I click the button to generate the report I get an error:

System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'LFSO83Lib.LFFolder'. This operation failed because the QueryInterface call on the Com component for the interface with IID '{the ID number}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))

Exception From Hresult 0x80004002

The line with the error is

I've been searching around online for the past two days to no avail so I figured I would ask here. The machine running the application has LF Client 8.3. Upgrading is not going to happen. The LF dlls referenced by the project are:

Interop.LFClient.dll version 1.0.0.0

Interop.LFIMAGEENABLE80Lib.dll 8.0.0.0 (also tried 8.0.6.3)

LFSO83Lib.dll version 8.3.0.0 (also tried LFSO91Lib.dll version 9.1.0.0)

Hresult 0x80004005

The machine running the application has the 9.2.1 SDK installed.

80004002 No Such Interface Supported

Thank you

Hresult 0x80004002Hresult 0x80004002

Hresult 0x8007000e

Post Link