You should turn off firewall or check TGLOBAL/TGROUP/TIPADDR/TMACHINE if they are good..
Go ODBC/System-DSN/SQL Server and configure:
Here have many options you should select:
SQL Server or verify reg services.
The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.