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
125 stars 51 forks source link

20002 Adaptive Server connection failed #39

Closed fwaddle closed 7 years ago

fwaddle commented 7 years ago

Hi all, Anyone else have an issue where the client won't connect and throws the error 'Adaptive Server connection failed'?

I've tried it on several devices and it all works fine except for one iPad. It just so happens that this is the most important device.

I've reset the network settings on the iPad and it still throws the error. It has a SIM card and I've tried using the 4G network, wireless network, and personal hotspot but still throws the same error.

There are no VPN's set or proxy etc...

Any other suggestions?

Thanks, Mof.

fwaddle commented 7 years ago

I worked it out. Ok so if anyone else comes by this issue here are some of the things I discovered: 1 - check your username / password have no whitespace in them and are correct 2 - check your network connection and that you're not blocked by a firewall

martinrybak commented 7 years ago

Good to hear!