Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error : Object server not correctly registered.

Posted on 1997-09-19
3
Medium Priority
?
244 Views
Last Modified: 2013-11-14
HI,

I have developed a simple visual Basic application. It is Reporter and it uses Crystal report 4.0, GRaph control, TrueGrid control, etc. When I prepare my distribution media using InstallShield Express ver. 2.0, it shows me a message like "Could not find windows registry information for Olepro32.dll. You will have to add file manualy." THen I am adding file using explorer. When I install my software on the Windows NT 4.0, It always gives me an error 336 "Object Server not correctly registered". In that system, I have not installed any kind development tools. It is a fresh Windows NT Server.

When I prepare my diskettes using Application WIzard of Visual Basic, I am able to prepare diskettes and I can successfully execute that application. I have One big application and I want to have one installation CD. SO that it is easier for user to install. My one module is VC++ 5.0 and other is Visual Basic 4.0. THis application is on WIndows NT 4.0, Visual Basic 4.0, Crystal Report 4.0 and TrueGrid Ver. 4.0

I would really appreciate your suggestion and guidelines.

Byr,
Dipesh Shah
0
Comment
Question by:dipesh042997
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
dirtdart earned 300 total points
ID: 1435504
All dlls your program uses have to be registered with Windows.  That is, the information concerning that dll (where it is, what it is, etc) has to be stored in the registry.  Most dlls and custom controls you deal with have the ability to self register, but you have to initiate this.  When using the VB Setup Wiz, this is done automatically for you because the Setup Wiz can create a list of files your program needs to run.  During your setup routine, it then calls the appropriate functions for the dlls to self register.  You can also force InstallShield to do this, but you have to write custom script for it, and I am not familiar enough with InstallShield to talk you through this.  However, as an intermediate step to solving your problem, try this.

After using InstallShield to install your app, make a list of the dlls that were installed on the target machine.  Then use regsvr32.exe (provided with Visual Basic) to manually register the dlls.  The format would look like this:

regsvr32 dllname

where dllname is the full qualified path and name of the dll, including extension.  This will cause the dll to register itself with the Windows registry and will then be accessable to your program once again.

0
 

Author Comment

by:dipesh042997
ID: 1435505
My application is using Microsoft Jet Engine. Do  I need to register dao3032.dll files also ?  I tried one thing. Previously my diskettes did not contain dao3032.dll. After lots of debugging I found out that it is missing. SO I copied that file from another machine. But it did not work. So do I need to register that also ?
0
 
LVL 5

Expert Comment

by:dirtdart
ID: 1435506
Yes, the dao3032.dll also needs to be registered.  EVERY dll that your program uses needs to be registered.  If you have any doubt about a component, try to register it anyway.  If it doesn't need to be registered, regsvr will just give you an error, and no harm will be done.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

927 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