Wants to run an SDAC application on a fresh machine

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Japhar
Posts: 38
Joined: Thu 05 Oct 2006 04:22

Wants to run an SDAC application on a fresh machine

Post by Japhar » Mon 30 Oct 2006 10:39

Hi,

I have deleveloped a new application with SDAC components in Delphi.

Now, i want to run an exe of the application on a fresh machine where there is no Delphi and SDAC components.

Questions are:
1. Does my application runs?
2. If it doesn't run then what all things are required to run my application? Ex: dll's, package...etc

Thanks in advance...

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Mon 30 Oct 2006 13:12

There is only one requirement for a program that uses SDAC.
It requires OLE DB installed on workstation.
In current versions of Microsoft Windows, as Windows 2000, OLE DB is already included as standard package.
But it's highly recommended to download latest version (newer than 2.5) of Microsoft Data Access Components (MDAC) at http://www.microsoft.com/data.

Japhar
Posts: 38
Joined: Thu 05 Oct 2006 04:22

Post by Japhar » Mon 30 Oct 2006 15:42

Thanks for your comments...

I have followed below steps on a fresh machine to run my application but no luck:

1. I have created a new application with SDAC trailer 3.80.0.31 vesion.
2. I have complied my application on my machine and it generates an exe file for an application.
3. I have copied this exe to a new machine where there is no Delphi, SDAC.
4. Now executed the exe file. I got following error message.

"The Specified module could not be found SDAC Trail version needs additional "bpl" files to be present on the user PC. If you build your project without run-time packages you need:
dac70.bpl
sdac70.bpl"

Can you please suggest me without having above 2 bpl files on user PC, can't i run my new application??? How to overcome this issue...please suggest me..

jfpicard
Posts: 24
Joined: Tue 06 Dec 2005 21:17

Post by jfpicard » Mon 30 Oct 2006 16:40

Go to Project->Options Packages tab and uncheck 'Build with runtime packages' and recompile

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Tue 31 Oct 2006 10:26

If you use SDAC Trial version and you build your project without run-time packages you need
additional "bpl" files to be present on the user's PC: dacXX.bpl, sdacXX.bpl.

EddieMouse
Posts: 1
Joined: Tue 26 Jun 2007 06:06

Same problem

Post by EddieMouse » Tue 26 Jun 2007 06:14

Hello,
I have the same problem:
I use the trial edition of SDAC for Delphi 2007.
Delphi 2007 Pro
use runtime-packages is unchecked
the small project is 1200KB's
it works in the IDE and runs on the IDE machine outside the IDE

it does not work on another computer,
I receive the error:
SDAC trial edition needs addtional "bpl" files to be present...
dac105.bpl
sdac105.bpl

again, Delphi says: in project/infos: used packages: none

Thanks in advance for your help!

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 26 Jun 2007 15:22

This is the trial protection issue. On another computer you just need to copy requested bpl files to any directory accessible to your application. You will find SDAC bpl files in the SDAC installation directory. Depended bpl files are located in the Delphi installation directory.

This issue is not related to registered users of SDAC.

Post Reply