Solved

Trying to install OCX files

Posted on 2006-11-17
6
597 Views
Last Modified: 2013-12-03
First let me preface by saying I am not a windows programmer - I have a programming background but it is in Unidata which is the database our business system runs on.

Several years ago a company wrote a couple of ocx applications to help interface our business system with a tax processing application.   They also wrote an installer a .msi.  This was all written and runs on a windows 98 system.  I have upgraded the tax software to the latest version and it is now running on a windows XP system.  I did not figure that these applications were going to work on the XP system but I figure it is worth a try since I am not qualified to rewrite new ones.  When running the .msi - it starts the installation process and then I get the following error.

Error 1904. Module C:\Program Files\Vertex\utils\geo.ocx failed to register.  HRESULT-2147024770.  Contact your support personnel.

The basic stucture of the applications database has not changed so I have reason to believe that if these would 'register' they would work.

Any direction / advice is appreciated.
0
Comment
Question by:magarner
  • 3
  • 2
6 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17971219
-2147024770 in hex is 0x8007007E, which means: "The specified module could not be found.".
ocx library depends on some other Dll which is not found during registration.

Using Dependency Walker program: http://www.dependencywalker.com/
read names of all libraries which this .ocx needs to be loaded. Ensure that all these DlL files are available in current directory, Windows, System32 directory or through PATH variable.
0
 

Author Comment

by:magarner
ID: 17990765
OK - I downloaded and installed dependency walker and was able to get a lot further.  I am getting a message that it cannot open MSJAVA.DLL.   I read in the FAQ for dependecy walker that XP replaced it with MSHTML.DLL.  I am assuming that my old 98 ocx is looking specifically for MSJAVA.DLL.   Is there a way I can get it, install and register it?  
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 17993656
There are many sites that suggest to download this Dll - just type msjava.dll in Google. However, this can be risky. After applying Dependency Walker you know that the problem is MSJAVA.DLL. AFAIK, MS stopped to support Java in XP redirecting users to Sun. However, I don't know how old program should be supported.
I suggest you to ask separate question in Windows XP area with link in Java programming to get more information.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:magarner
ID: 17999087
I installed the MSJAVA.DLL and that error went away.  I am not getting another error on MPR.DLL.  It says Warning: At Least one module has and unresolved import due to a missing export function in the delay-load dependent module.  

When I double click on the MPR.DLL I see in the Parent Import view with MRP.DLL a red box with a C and the function is WNetRestoreConnectionA.

Alex you have more than earned the points but I still have not accomplished my ultimate goal which is to get this app to load and run.  Any new thoughts?
0
 

Author Comment

by:magarner
ID: 18037313
Does anyone have any thoughts on how to correct this?

I installed the MSJAVA.DLL and that error went away.  I am not getting another error on MPR.DLL.  It says Warning: At Least one module has and unresolved import due to a missing export function in the delay-load dependent module.  

When I double click on the MPR.DLL I see in the Parent Import view with MRP.DLL a red box with a C and the function is WNetRestoreConnectionA.
0
 

Expert Comment

by:amitjain1512
ID: 24239684
Hi Maganer/experts,

I am also facing similar issue. Can you please help me?
How did you come out of this issue?

I copied msjava.dll from some other machine to the local machine where i was getting this error. Now i see the second error("MPR.DLL I see in the Parent Import view with MRP.DLL ....").
Please let me know how did you resolved it.

Thanks and regards,
~Nazir
nazir.maindargi@gmail.com
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

790 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