COM Exception 0x8004005

I have a C # web service calling COM objects to access a FileNet image processing system. A service sometimes encounters the following error when accessing FileNet COM objects:

System.Runtime.InteropServices.COMException (0x80040005): an object must be executed to perform this operation (exception from HRESULT: 0x80040005 (OLE_E_NOTRUNNING))

Any idea what this means, or how to fix it? I could find almost nothing when searching on Google, and my experience with COM is very limited. Thank.

+3
source share
2 answers

Unfortunately, this is HRESULT - it is the error code "Something is wrong." I would suggest:

  • , , - ,
  • COM-

, , COM . , .

( Windows 7, ):

  • ( "" )
  • " ", "", " ", " COM +".
  • , .
  • . , COM- .
  • COM-, Server. . (, ..), .
  • . , , (, ), , . , LocalSystem, .
  • ( , ).
  • "".
  • " "
  • COM , " ". , " "
  • . , . COM .
  • . COM + , .

. ... , COM+. , .

, , , COM- DLL , .

+2

, , - , , .

, , , UAC , .

0

Source: https://habr.com/ru/post/1734315/


All Articles