Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.Net failing VFP COM with 80004005
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01345326
Message ID:
01345338
Views:
24
Hi Don,

>Creating an instance of the COM component with CLSID {8FBB8A36-B1F2-4AE3-8CB0-C70FFE310550} from the IClassFactory failed due to the following error: 80004005.

Basically this error means that there was some problem during the initialization. Check the following:

- Register the VFP9R/T.DLL files with REGSVR32
- Make sure the VFP 9 runtime files and its dependencies are there
- Make sure the COM server is not installed in multiple versions in various directories that are in the path
- Reregister your COM component
- Check if the Init event is called at all. You can use OutputDebugString for thi. To view the strings use DBGVIEW.EXE from SysInternals.
  Declare OutputDebugString in Win32API String 
  OutputDebugString( "Message" )
- Use the same method to make sure that the Init event completes.
- Make sure the CLSIDs have remained the same. .NET uses the CLSID to early bind to the VFP COM object. If you change the interface or recompile with different class IDs, you need to reimport the file into Visual Studio and rebuild your solution.
- Check if there's any error like missing paths in the Init event
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform