G
Guest
Hi,
I have to connect SQL Server. In local SQL server my connection string is;
strConn = "Data Source=NTMS-2005;Initial Catalog=DBANK;Integrated
Security=SSPI;"
and I can connect very easily.
My problem is how to connect the Server PC that has the SQL Server. I used
following string but I failed. It says cannot find the SQL Server.
strConn = "Data Source=190.168.0.97,1433;Network Library=DBMSSOCN;Initial
Catalog=DBANK;User ID=myID;Password=myPASSWORD;"
I will be glad if someone will point me the right direction.
Thanks.
Rgds,
GC
I have to connect SQL Server. In local SQL server my connection string is;
strConn = "Data Source=NTMS-2005;Initial Catalog=DBANK;Integrated
Security=SSPI;"
and I can connect very easily.
My problem is how to connect the Server PC that has the SQL Server. I used
following string but I failed. It says cannot find the SQL Server.
strConn = "Data Source=190.168.0.97,1433;Network Library=DBMSSOCN;Initial
Catalog=DBANK;User ID=myID;Password=myPASSWORD;"
I will be glad if someone will point me the right direction.
Thanks.
Rgds,
GC