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 |
Nori81
Starting Member
1 Post |
Posted - 2005-12-25 : 05:13:53
|
hi i am trying to access the Sql server which is located at our server at the office, so let's say that our server name is "Myserver" and the database i am trying to connect is "MyDB" then can anybody where is my mistake, on the following connection string:CON.Open "Driver={SQL Server};" & _ "Server=XXX.XXX.XXX.XXX;" & _ "Address=XXX.XXX.XXX.XXX,YY;" & _ "Network=DBMSSOCN;" & _ "Database=MyDB;" & _ "Uid=MyUserID;" & _ "Pwd=MyPass;"can any body tell me where is my mistake,i have even tried the following:CON.Open "Driver={SQL server};Server=MyserverName;Database=MYDB;"However,Still i get the following error:TCP/IP sockets General Network error , check your network documentations.Even if i specify the User name and password to access the Server where the SQL server is located.could you help please ,,,ASP |
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2005-12-25 : 13:16:15
|
see thiswww.connectionstrings.com |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-04-04 : 09:09:40
|
quote: Originally posted by shangibad(Edited by graz -- Please don't quote the spam :)
How is this related to this topic?What is the need of posting these links?MadhivananFailing to plan is Planning to fail |
|
|
|
|
|