You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
TinyTDS Version and Information
tiny_tds (2.1.2)
I also tried 2.1.5
FreeTDS Version
MS db-lib source compatibility: no
Sybase binary compatibility: yes
Thread safety: yes
iconv library: yes
TDS version: 4.2
iODBC: no
unixodbc: yes
SSPI "trusted" logins: no
Kerberos: yes
Description
I have used Rails 5 with TinyTds gem to connect to many servers. (hundreds of them)
I recently upgrated to Rails 6. My system can connect to most of the servers, but cannot connect to some.
When I start a client side, I get this error:
TinyTds::Error: Unable to connect: Adaptive Server is unavailable or does not exist (some.server.address:1433)
from ....gems/tiny_tds-2.1.2/lib/tiny_tds/client.rb:60:in `connect'
Is there any way to figure out why I cannot connect?
I can connect when I switch back to Rails 5.
Thanks.
The text was updated successfully, but these errors were encountered:
TinyTDS can't really tell you anything that FreeTDS isn't already saying; ie, it can't connect for some reason. The diagnostics are up to you. Here's some ideas to get you started:
Is the FreeTDS info otherwise identical?
Is the TDS version the same (4.2 is very old)
Can you connect to from this web server to that SQL Server instance using other tools (eg, tsql)
Does the SQL Server log show anything interesting when you try to connect?
Environment
Operating System
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
TinyTDS Version and Information
tiny_tds (2.1.2)
I also tried 2.1.5
FreeTDS Version
MS db-lib source compatibility: no
Sybase binary compatibility: yes
Thread safety: yes
iconv library: yes
TDS version: 4.2
iODBC: no
unixodbc: yes
SSPI "trusted" logins: no
Kerberos: yes
Description
I have used Rails 5 with TinyTds gem to connect to many servers. (hundreds of them)
I recently upgrated to Rails 6. My system can connect to most of the servers, but cannot connect to some.
When I start a client side, I get this error:
Is there any way to figure out why I cannot connect?
I can connect when I switch back to Rails 5.
Thanks.
The text was updated successfully, but these errors were encountered: