Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-12-07 : 07:57:54
|
| dilip writes "I am trying to connect to a SQL server on other machine on the network using follwing Visual FoxPro Command:ConnectString="'Driver={SQL Server};Server=192.168.1.13;Address=192.168.1.13,1433;Network=DBMSSOCN;Database=MyDatabase;Uid=UserName;Pwd=Password"ConnectionHandle = SQLSTRINGCONNECT(&ConnectString)It gives following error:Connection Failed.Sql State 01000.Sql Server error 10061[Microsoft][ODBC SQL Server driver][TCP/IP sockets]ConnectionOpen(Connect()).Connection failed.Sql State 08001SQL Server error 17[Microsoft][ODBC SQL Server driver][TCP/IP sockets]SQL Server do not exist or access denied.I tried using sql server name instead od IP addrress in Server= parameter in connection string. it gives same error.Can anyone help me in this?" |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2005-12-07 : 08:12:22
|
try this ?Server=192.168.1.13,1433;Address=192.168.1.13 -----------------[KH] |
 |
|
|
|
|
|