Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi Programmers

Status
Not open for further replies.

javed007

Programmer
Mar 8, 2001
10
US
I am trying access sql-server thru tcp/ip netware library. i canfigure properly to tcp/ip netware library. below connectoion string is working fine with those m/c that have sql server installed

connectio string is
cn.Open &quot;driver=SQL Server;server=host.domain.com;uid=<name>;password=<password>database=<database name>&quot;
but it gives error to those m/c that have'nt sql server intalled

error is : [microsoft [odbc sql server driver] client unable to establish connection

javed
 
Try this connectionstring:

cn.open = &quot;Provider=sqloledb;Data Source=<Servername>;Initial Catalog=<Database>;User Id=<UserId>;Password=<Password>&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top