Failed to connect to mssql

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
zhuyl
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.11.2021, 09:09

Failed to connect to mssql

Post by zhuyl »

testing environment:zeoslib-code-0-r7936-trunk,lazarus, freeTDS1.3
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1939
Joined: 17.01.2011, 14:17

Re: Failed to connect to mssql

Post by marsupilami »

Hello zhyul,

some more information is required:
- what error do you get?
- what is the server name you use?
- do you use freetds on Linux or Windows?
- do you use some special settings?
- did you - by chance - forget to activate TCP/IP connections on your SQL Server?
- which exact version of freetds do you use?
- which version of Lazarus and FPC do you use?

On our servers freetds connects correctly to MS SQL Server. Also I suggest to use the 8.0-patches branch.

With best regards,

Jan
zhuyl
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.11.2021, 09:09

Re: Failed to connect to mssql

Post by zhuyl »

Thank you, Jan
With your reminder, the problem was solved. Because mssql does not have a patch installed, tcp/ip cannot be used.
Post Reply