Solved

Trying to install OCX files

Posted on 2006-11-17
6
588 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This video discusses moving either the default database or any database to a new volume.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now