MSSQL Connection.

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
stag76
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 17.10.2019, 03:23

MSSQL Connection.

Post by stag76 »

I'm using Version 7.1.2-Stable to Access a MSSQL DataBase using TZConnection.
I can connect to the (LOCAL) instance, but cannot connect to an instance
on another Machine. I'm using ntwdblib.dll.

Is this a limitation of this Version, or or is it more likely to be mistakes in my code?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: MSSQL Connection.

Post by marsupilami »

Hello,

this is not enough information to really know what is going on on your computer. Can you proveide some sample code that shows what you do? It can be a problem in your code as well as a misconfiguration on the other host (i.e. TCP being disabled for MS SQL Server).

Some suggestions:
  • Use Zeos 7.2. Zeos 7.1 is not supported for quite some time yet.
  • Use FreeTDS instead of ntwdblib.dll. FreeTDS has better support for new data types and internationalization.
Best regards,

Jan
stag76
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 17.10.2019, 03:23

Re: MSSQL Connection.

Post by stag76 »

Thanks for the reply.

I'll work on updating my Software first.
Post Reply