2. Security Authentication:
2.1. SQL Server and Windows (not selected): means using both SQL Server ID
and Windows ID
2.2. Windows only (selected): means using windows ID and password
This means you're using Window/NT authentication. Aka, permissions need to
be set up for
mycompany/jsmith (nt login) in order to connect.
I always setup using both. (which 2.1 is unchecked for you)
uid=jimmy;pwd=jimmypassword
If you see these in your connect string AND 2.1 is unchecked, it won't work.
Either select 2.1 or give
mycompany/jsmith the privs.
Also remember, if you're using Asp.Net, you won't "be" mycompany/jsmith
you'll be mymachine/AspNet (user account on the machine hosting IIS).
If you're doing a windows service, you'll probably be mymachine/SYSTEM
"david" <da***@discussions.microsoft.comwrote in message
news:B0**********************************@microsof t.com...
Hi, Peter:
I have checked the the setting for SQL Server Properties. Where to find
"enable remote access" and what you described in the Enterprise Manager?
But
we found the following:
1. Remote server connections: two options (seems for server to server)
1.1. Allow other SQL Servers to connect remotely to this SQL server using
RPC (Checked)
1.2. Enforce distributed transactions (MTS) (unchecked)
2. Security Authentication:
2.1. SQL Server and Windows (not selected): means using both SQL Server ID
and Windows ID
2.2. Windows only (selected): means using windows ID and password
David
"Peter Bromberg [C# MVP]" wrote:
There are really only two areas here:
1) getting the connection string right.
2) Ensuring that the SQL Server is enabled for remote access, the
correct
transports (e.g. TCP, Named Pipes) are enabled, and that mixed mode
authentication is enabled.
Once you can connect to your database you won't need to worry about
"messaging patterns" or protocols.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"david" wrote:
Now we have some trouble to directly access to SQL Server database.
>
I would like to know if there is a special protocol in the
communication
between SQL SERVER client and databse system. What is the messaging
pattern?
>
Thank you for any help.
>
David