Solved

VB.net 2005 - FoxPro DLL COM Issue!

Posted on 2015-01-12
2
173 Views
Last Modified: 2015-01-13
Hello Experts!

I'm trying to run a FoxPro report from Visual Studio 2005 (VB.net) and I can get it to work on my machine (Debug) but when I load it down to one of the workstations that it needs to be run from I'm getting an Error:

Retrieving the COM Class factory for component with CLSID {XXX} failed due to the following error: 80040154

Here is the section of code it fails on (FYI the VFP9R.DLL is registered on the workstation)!
Dim FoxPro As New VisualFoxpro.FoxApplication

Thanks,
Mark
0
Comment
Question by:smithmrk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
MlandaT earned 500 total points
ID: 40546009
Does VFP9R.DLL not have any other depencies that are on your machine BUT NOT on the target machine? In this case, even if you deployed just the VFP9R.DLL, your app would still crash. You might check here http://fox.wikis.com/wc.dll?Wiki~VFP9RuntimeFiles~VFP for additional information as well.

Also, try to find the filename from the CLSID that is being reported. This might give you a hint as to whether the file that is causing the issue is there on the machine or not. To determine the filename from the CLSID, try looking in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\GUID and find a key called "InProcServer32" (or something)  and you will likely find a value that has the DLL name.
0
 

Author Closing Comment

by:smithmrk
ID: 40547200
OK, thanks!
I don't think I'm going to be able to get it to work...but I appreciate your help!

Mark
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question