Greetings to evrybody !!!
I'm in trouble: I wrote a standard Windows application using ZeosLib to connect to a MSSQL db and everything works; if I try to use the same piece of code in a Windows service my app hangs.
This behaviour is strange because even in services I'm able to let ZeosLib connect to MySQL for example.
So, the problem could be the fact I'm in a service (in EXE it works) but in the same service with the same TZConnection I'm able to connect to MySQL.
Can anybody help me please?
Thanks guys !!
Problem with TZConnection and MSSQL
Moderators: gto, cipto_kh, EgonHugeist
- marco.giacinti
- Fresh Boarder
- Posts: 5
- Joined: 04.01.2006, 13:22
- Location: Ancona
- marco.giacinti
- Fresh Boarder
- Posts: 5
- Joined: 04.01.2006, 13:22
- Location: Ancona
Question
Hi Marco!marco.giacinti wrote:Well, I tried to configure service using Administrator account and let the service run when I was logged on... the same bad result
Could you solve the problem with connection to MSSQL from Windows service? I can't understand why it does not work.