Page 1 of 1

Can't conection with andriod

Posted: Wed 17 Feb 2021 08:02
by RUKHIN
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....

Re: Can't conection with andriod

Posted: Wed 17 Feb 2021 10:29
by Stellar
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.

Re: Can't conection with andriod

Posted: Wed 17 Feb 2021 10:50
by RUKHIN
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...

Re: Can't conection with andriod

Posted: Tue 23 Feb 2021 11:41
by Stellar
Please try to disable encryption by setting the Encrypt option to False.

Code: Select all

MSConnection1.Options.Encrypt := False;

Re: Can't conection with andriod

Posted: Wed 24 Feb 2021 02:40
by RUKHIN
It's Work...... Thank U so muchhhhhh.....

Re: Can't conection with andriod

Posted: Thu 25 Feb 2021 10:32
by Stellar
Are you getting an error only when Encrypt is set to True?