[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

VB.net 2005 - FoxPro DLL COM Issue!

Posted on 2015-01-12
2
Medium Priority
?
183 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 31

Accepted Solution

by:
MlandaT earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

650 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