FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error on Program as Service with ODBC Connection
Posts: 97
Joined: Sun Nov 20, 2005 04:32 PM
Error on Program as Service with ODBC Connection
Posted: Thu May 24, 2007 08:19 PM

Dear Fivewinners,

I installed a program with ODBC connection as a service.

The program normally is started, all functions. I start comes it as a service the error message

FiveODBC Error Message
SQLDriverConnect error from TODbc:New() [#-1]

I have testet with and without ServiceProcess(1)

Any Ideas ?

Regards, Norbert

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Error on Program as Service with ODBC Connection
Posted: Tue May 29, 2007 06:51 AM

Norbert,

We have no ideas about it, sorry :-(

I may only suggest you to search on google for some info about it,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Wed Oct 19, 2005 02:17 PM
Error on Program as Service with ODBC Connection
Posted: Tue May 29, 2007 08:05 AM

Hi Norbert,

if you use the program without service, do you have the error ?

Best regards,

Felix

Posts: 97
Joined: Sun Nov 20, 2005 04:32 PM
Error on Program as Service with ODBC Connection
Posted: Tue May 29, 2007 10:58 AM
Baxajaun wrote:Hi Norbert,

if you use the program without service, do you have the error ?

Best regards,

Felix


Dear Felix,

no, the Program works many years without errors. Now i will switch it to an service, and the todbc:new brings an error -1
???

i have read antonios mail about ".. prg to an service..". it works fine.
but only the odbc brings an error. now i will test ADO.

Regards, Norbert

Continue the discussion