martinrybak / SQLClient

Native Microsoft SQL Server client for iOS
http://objcsharp.wordpress.com/2013/10/15/an-open-source-sql-server-library-for-ios/
MIT License
124 stars 51 forks source link

ipv6 - Adaptive Server is unavailable or does not exist” error connecting to SQL Server #55

Closed atulgawali closed 6 years ago

atulgawali commented 6 years ago

Hello,

      On ipv4 network my application working good, But on ipv6 fetching the error **Adaptive Server is unavailable or does not exist” error connecting to SQL Server**.

for ipv6 network is there any changes, please let me know if i missing something.

whencesoever commented 6 years ago

I had the same issue. Please try to change connection string little bit. https://www.connectionstrings.com/sql-server/

atulgawali commented 6 years ago

Thanks for the reply,

I am fetching problem in iOS, there is no option to change connection string.

[client connect:OTP_GD_DB_IP username:OTP_GD_DB_USER_NAME password:OTP_GD_DB_PASSWORD database:@"OTP_DB_NAME" completion:^(BOOL success) { if (success) { } }

martinrybak commented 6 years ago

Please see #37.