?
Solved

Trying to install OCX files

Posted on 2006-11-17
6
Medium Priority
?
618 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
[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
  • 3
  • 2
6 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 1500 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
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

764 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