Groups | Blog | Home
all groups > sql server odbc > december 2003 >

sql server odbc : Sql Server Timeout expired


indika Gamage
12/17/2003 10:50:52 PM
Hi
i'm trying to connect to sql server from client pc, every time gave me
msg Unable to connect to server [XXXXXX]
ODBC : Msg 0 ,Level 16 , state 1
[Microsft][ODBC: SQL ServerDriver] Timeout Expired
Pls help !!!






*** Sent via Developersdex http://www.developersdex.com ***
Brian Moran
12/18/2003 9:27:26 AM
What tool are you trying to connect from SEM and Query Analyzer both have
options for changing the default login time out option...

Can you ping the server from the PC?

Can you provide more info on the client setup etc....

--

Brian Moran
Principal Mentor
Solid Quality Learning
SQL Server MVP
http://www.solidqualitylearning.com


[quoted text, click to view]

SQL crafter
12/18/2003 11:51:03 PM
Dear Brian

At last i found the solution for the "timeout expired" problem. what we
have to do is, we have to edit two windows files calld
,"c:\winnt\system32\drives\ect\hosts.txt"
and "c:\winnt\system32\drives\ect\Lhosts.txt"
we should enter sql server IP and name like this
169.192.2.100 sqlserverName
in both files

Thanks,

indika








*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button