arghh.. can't get .NET to connect to sql server
From: NeverStill (sklett_2000_NoSpizay@yahoo.com)
Date: 09/20/02
- Next message: Sue Hoegemeier: "Re: Security Auditing"
- Previous message: Dan Guzman: "Re: How to grant select to table in pubs database?"
- Next in thread: linda deng[MS]: "RE: arghh.. can't get .NET to connect to sql server"
- Reply: linda deng[MS]: "RE: arghh.. can't get .NET to connect to sql server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "NeverStill" <sklett_2000_NoSpizay@yahoo.com> Date: Thu, 19 Sep 2002 21:06:31 -0700
K, 1 more quick question:
I have 2 machine on the network, "a" and "b"
I develop apps on "a" and test them on IIS running on "a", my SQL server is
installed on "b"
So, I'm trying to figure out a connection string that will work, I have
something like:
"Network Library=DBMSSOCN;Data Source=192.168.0.100,1433;User
ID=Administrator;Password=password!";
I read that I needed to define "Network Library" to tell it to use TCP/IP,
that for performance reasons, using the IP address is faster, then just the
username and hte password of the account on "b" that can use SQL server.
So I did all that, but it fails and I'm not sure why. THe username and
password that I'm defining are for the DOMAIN user on "b", could that be the
problem? How can I add additional users to the SQL server access list? This
is the same user that is listed in the enterprise manager under the security
tab. I have Authentication set to "SQL Server and Windows".
A working example or slight explanatio would be great.
Thanks!
Steve
- Next message: Sue Hoegemeier: "Re: Security Auditing"
- Previous message: Dan Guzman: "Re: How to grant select to table in pubs database?"
- Next in thread: linda deng[MS]: "RE: arghh.. can't get .NET to connect to sql server"
- Reply: linda deng[MS]: "RE: arghh.. can't get .NET to connect to sql server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|