ConfusedUser
ConfusedUser

Reputation: 391

Creating Com Error 80004005

Im trying to run FoxPro in Windows 2012,

I have registered the dll using regsvr32

When i try to run the app using the dll, i got this

Error: Creating an instance of the COM component with CLSID {F6C4F46E-58A4-4774-802F-1CF9E64376B0} from the IClassFactory failed due to the following error: 80004005. Trace: at Lib.FoxProWrapper..ctor(String ODBC, String Acct, String Pswd) at App.Processor..ctor(String SrvType, String ServiceName) at App.App.startApp()

Upvotes: 0

Views: 3884

Answers (1)

Alan B
Alan B

Reputation: 4288

I assume here you are talking about a COM DLL created with Visual FoxPro and by the looks of it you are trying to instantiate it in C#.

Make sure you have the runtimes properly installed. You can download them here.

Upvotes: 1

Related Questions