System.Runtime.InteropServices.COMException (0x80004005)

0

When I try to instantiate a Visaul FoxPro COM DLL on a Windows 2016 server and I get the following exception:

System.Runtime.InteropServices.COMException (0x80004005): Retrieving the COM class factory for component with CLSID {8D55253A-E271-4671-9639-EC21FBE30B64} failed due to the following error: 80004005 Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)).
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

I've tried installing the VFP 9 runtime as suggested here but I still get the same error.

If I install VFP 9 on the server I'm able to instantiate the DLL. I shouldn't have to do that right? What else should I be installing so VFP doesn't have to be installed or is that just the way VFP works?

I've inherited this dependency and I don't know much about distributing VFP COM DLLs...

c#
com
visual-foxpro
asked on Stack Overflow Apr 3, 2019 by spottedmahn

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0