Board index » delphi » D5 Enterprise/Ado deployment problem

D5 Enterprise/Ado deployment problem

Hello,

I have encountered problem when installing an app containing the Ado
components in Delphi 5, Enterprise.

I have written a small test application, just to test that the Ado database
connection will run allright on the target station of an in-house
application I am developing.

To install this testapp I do the following:
- install Ado to the target by running the mdac_typ.exe from the Delphi CD.
- Copy the testapp exe and its .mdb file to the target

This test app does nothing with the Ado-components except assigning a
connection string to the AdoConnection component at startup.

To open the .mdb you have to click on a 'Open' button.

The test App runs well on my own workstation (NT 4 Service Pack 3), I also
installed it to other workstations at my workplace: On a (NT 4 Service Pack
3, but without Delphi 5) and a Win95 station with no  Delphi on it). It
worked well on both these.

Now to the problem: When I try to run this test application on one of the
target stations for the in-house application I am developing, it crashes
before any window is shown. The target station also runs NT 4 service pack
3. The error message is in Swedish, so the following is my translation: A
program failure has occurred and an errorlog is created. AdoText.exe
Exception (0xc0000025), Address: 0x77f88f65

One small difference from the successful installations at my workplace:
My first try to install ado via mdac_typ.exe failed, because on this
station, because the regular user had not sufficient rights so I had to log
in as an administrator, and after that install of ado was successful. But
the test application crashes regardless of which userid I use when logging
in.

Just to ensure that the problem has to do with the Ado-components, I removed
them from the test app, recompiled and then it ran without problems.

The Microsoft documentation on Ado is a bit overwhelming and I am somewhat
short of time, so any hints or tips of where to start or what to look for or
what to do would be very much appreciated.

Best regards,
Mikael Mikaelsson

 

Re:D5 Enterprise/Ado deployment problem


Quote
Mikael Mikaelsson <mik...@dalnet.se> wrote in message

news:7u22ug$59h7@forums.borland.com...

Quote
> The error message is in Swedish, so the following is my translation: A
> program failure has occurred and an errorlog is created. AdoText.exe
> Exception (0xc0000025), Address: 0x77f88f65

Sounds like the MDAC installation is corrupted.  Since there is no uninstall, I'm
not sure there is an easy way to fix it.

You could try manually removing some of the MDAC files and then rerunning the
install, but I don't recommend that unless you have a pretty good handle on what
you are doing.  Here is a list of files included in the MDAC runtime in case you
decide to try that method:

http://www.microsoft.com/data/MDAC21info/MDAC21sp2manifest.htm

Good luck.

Mark

Other Threads