Can't conection with andriod

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
RUKHIN
Posts: 3
Joined: Wed 17 Feb 2021 07:55

Can't conection with andriod

Post by RUKHIN » Wed 17 Feb 2021 08:02

i have SDAC version 8.3.10 for RAD Studio XE 7,
i have Problem
First chance exception at $DE51ADBD. Exception class ETDSError with message
'Error on data reading from the connection:
Try again.
Socket Error Code: 11($B)'... error on msConnection.Conection

msconnetion,connectionstring:='Provider=TDS;Data Source=Name DATABASE;Port=1433;'+
'Initial Catalog=dbTA;User ID=sa;Password=****;Login Prompt=False;'+
'TrustServerCertificate=True;Encrypt=True

Please help....

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Can't conection with andriod

Post by Stellar » Wed 17 Feb 2021 10:29

We fixed several issues with secure connections in the latest version of SDAC.
Please install the latest SDAC version 9.3.2 and let us know if you have issues connecting to MS SQL Server from Android. You can use download a trial version on our website.

RUKHIN
Posts: 3
Joined: Wed 17 Feb 2021 07:55

Re: Can't conection with andriod

Post by RUKHIN » Wed 17 Feb 2021 10:50

I have been download for SDAC latest, SDAC 9.3.2(trial),but result same case

First chance exception at $DE51ADBD. Exception class ETDSError with message
'Error on data reading from the connection:
Try again.
Socket Error Code: 11($B)'.

Thank U...

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Can't conection with andriod

Post by Stellar » Tue 23 Feb 2021 11:41

Please try to disable encryption by setting the Encrypt option to False.

Code: Select all

MSConnection1.Options.Encrypt := False;

RUKHIN
Posts: 3
Joined: Wed 17 Feb 2021 07:55

Re: Can't conection with andriod

Post by RUKHIN » Wed 24 Feb 2021 02:40

It's Work...... Thank U so muchhhhhh.....

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Can't conection with andriod

Post by Stellar » Thu 25 Feb 2021 10:32

Are you getting an error only when Encrypt is set to True?

Post Reply