Delphi Aplication Error

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dj_sherbu
Posts: 7
Joined: Tue 29 Apr 2008 12:13
Contact:

Delphi Aplication Error

Post by dj_sherbu » Tue 29 Apr 2008 12:30

Hy! I'm new to this forum so please have some patience with me!
I've downloaded MyDac for delphi 7 and installed it. It works just fine except the connection to another mysql server on a computer in a LAN, but this is not my problem yet!
I've developed an aplication that uses a Connection to the MySql server on the local machine to retreive some data from several tables in a database. It works fine on my computer.
I tried giving the aplication to one of my coleagues which also has a mysql server installed, the same user and password, the same database; when i tried running the application i get the following error: "The specified module cannot be found. If you build your project wihout run-time packages you need: dac70.bpl, mydac70.bpl". How can i fix that? 10x

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

Post by Antaeus » Tue 29 Apr 2008 13:03

This is a trial limitation. Please, for more information take a look at the Deployment topic in the MyDAC help.

dj_sherbu
Posts: 7
Joined: Tue 29 Apr 2008 12:13
Contact:

Post by dj_sherbu » Tue 29 Apr 2008 13:26

Ok, so if i'll buy (probably in the next 6-7 days) the full version of the software, i will not have this problem of starting the aplication on a different computer? And what about the connection to another mysql server on a LAN computer, is that also limited in the trial edition?

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

Post by Antaeus » Tue 29 Apr 2008 13:44

dj_sherbu wrote:Ok, so if i'll buy (probably in the next 6-7 days) the full version of the software, i will not have this problem of starting the aplication on a different computer?
You are right, the restriction with bpl files will disappear in registered version of MyDAC.
dj_sherbu wrote:And what about the connection to another mysql server on a LAN computer, is that also limited in the trial edition?
Remote connections are not disabled in the Trial Edition of MyDAC.

dj_sherbu
Posts: 7
Joined: Tue 29 Apr 2008 12:13
Contact:

Post by dj_sherbu » Tue 29 Apr 2008 13:55

Ok, that's good to know, i thought it was from my application.
And now for the other problem, how can i connect to another mysql server on a computer in a LAN. I've disabled the firewall, i've stopped the antivirus, we have the same ip classes (i can see the name of the other computer in the servers combobox), but i can't connect. Any ideas why? I can acces the computers files in LAN, and it doesn't have a password protection on the computer

dj_sherbu
Posts: 7
Joined: Tue 29 Apr 2008 12:13
Contact:

Post by dj_sherbu » Wed 30 Apr 2008 07:35

Antaeus wrote:
dj_sherbu wrote:Ok, so if i'll buy (probably in the next 6-7 days) the full version of the software, i will not have this problem of starting the aplication on a different computer?
You are right, the restriction with bpl files will disappear in registered version of MyDAC.
Is there any chance that i can get the project to run untill i can get the product bought?

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

Post by Antaeus » Wed 30 Apr 2008 08:13

dj_sherbu wrote:And now for the other problem, how can i connect to another mysql server on a computer in a LAN. I've disabled the firewall, i've stopped the antivirus, we have the same ip classes (i can see the name of the other computer in the servers combobox), but i can't connect. Any ideas why? I can acces the computers files in LAN, and it doesn't have a password protection on the computer
Please, specify the exact error message you get when you try to open the connection to the remote MySQL. Is this MySQL server accessible from localhost?

dj_sherbu wrote:Is there any chance that i can get the project to run untill i can get the product bought?
You should deploy with your application mydac.bpl, dac.bpl files of MyDAC and all bpl files of Delphi the first two bpls depend on.

dj_sherbu
Posts: 7
Joined: Tue 29 Apr 2008 12:13
Contact:

Post by dj_sherbu » Wed 30 Apr 2008 08:27

The error i get is:
Can't connect to the MySql Server on 'the IP of the server' (10061). Socket error on connect. WSAGetLastError return 10061($274D)
.
You should deploy with your application mydac.bpl, dac.bpl files of MyDAC and all bpl files of Delphi the first two bpls depend on
Can you tell me how do i do this?

10x for the responses and for having patience with me! I really apreciate that!

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

Post by Antaeus » Wed 30 Apr 2008 10:04

This error message means that no MySQL server was found by the specified host/port. Please check whether your MySQL is running, and check again your connection parameters (server name and port number). The connection requests may be also blocked by some security programs.
dj_sherbu wrote:Can you tell me how do i do this?
You should copy the following files with your application to another computer:
dac70.bpl
mydac70.bpl
rtl70.bpl
dbrtl70.bpl

You will find these files at the hard drive of you development computer. If your application asks for other files when it is beeing run on another computer, find them at your development computer and copy them as well.

Post Reply