Explanation required on SETUP and DEPLOYMENT ERRORS

Posted on 2004-04-25
Last Modified: 2013-12-25
I've written and completed my very first application using VB6.0  as front-end and XPAccess as back-end Dbase. I used ADO technology for the Dbase access and manipulation and also DBGrid for viewing of query results.

The application will need to be installed on 6 client PC's. I've used the package and deployment wizard to create an installation package. Now when installing on the first client PC, I encounted the following errors;

1. VB 6.0 setup Toolkit:Setup1.exe - ordinal NOT found " The ordinal 17 could not be located in the dynamic link library MAPI32.dll.

2. An error occured while registering the file 'C:\windows\system32\MSEXCH35.dll'

3. An error ossured while registering the file 'C:\windows\system32\MSADO20.tlb'

What do the errors mean and how do I go about correcting/fixing them?
Question by:DVEAPI
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
LVL 53

Accepted Solution

Dhaest earned 250 total points
ID: 10915545
First try to solve the third problem. Possible that all your problems are solved then.
3) When installing VB progs on win2000 i'm getting :
"Error While Error While registering MSADO21.tlb"

--> The only way you can fix it is to distribute and run MDAC_TYP.EXE manually before your setup and ignore the error while the setup is running.
more info on data access components here

Otherwise it's possible you have to do install dcom98 also
1-2) Try to install DCOM98.exe (a sure requirement of ADO).
LVL 18

Expert Comment

ID: 10915578
1 and 2 points to the fact that you are using Microsoft Outlook library. In case yes then you can't distribute Microsoft Office files and the user need to have them installed on theirmachines.

3. as Dhaest points correctly, is due to MDAC not being on the client machine. Install MDAC 2.7 Refresh or 2.8 from Microsoft's site and it will solve the problem.

Expert Comment

ID: 10924275
If you are using the VB 6.0 deployment wizard do not use it on WIndows XP. You will run into problems.

I keep a machine here with Windows 98 and VB 6.0 for doing my packaging.
Technology Partners: 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!


Author Comment

ID: 10924721
But I'm using a Windows XP machine for my development work and packaging. What other problems are yu exactly referring to?

Expert Comment

ID: 10927848
Just the kind of errors you having.

OCXs and dlls not registering.

In fact it was a chore to go back and dig out the installed files on XP.

I didn't go any further investigating why the files would not install using the XP install as I had windows 98 another computer so I keep it just for VB 60 and deploying.

I don't know of anyone who actually got the deployment to work using XP and I can't say why it won't work.

Author Comment

ID: 10936292
Thanks to you all for your contributions towards my problems. I've eventually got my application installed successfully on 1 client machine which is also a XP machine. How? I downloaded the updated MDAC file from Microsoft site as adviced, installed it on my PC, LAN and the client PC. Deleted the old package from my PC, created another executable file, and rerun the package wizard for a new installable package. Went to the client PC, uninstalled the first application and reinstalled and guess what?. It worked. But I made sure to download the new executable file as well that got it working from my PC to the Client PC over the LAN.

Thanks again. This is a great site.

Author Comment

ID: 10983547
A very big thankyou to the helpful suggestions. Those were greatly appreciated.
It has now opened up my understanding of what to look out for in similar situations in future.


Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

717 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