all groups > sql server connect > april 2006 >
You're in the

sql server connect

group:

SQL server, local and domain user connection problem.


SQL server, local and domain user connection problem. Eqo
4/28/2006 2:04:02 AM
sql server connect:
Hi There,
I'm using windows xp and sql server 2000.
I installed sql server to my pc and it's workin so fine.

When I log in to my windows with a domain server my sql server connection
fails.
What must I do to fix this problem. Is it related with sql
server-properties-security.

Thakns for your time....
RE: SQL server, local and domain user connection problem. Todd C
5/2/2006 1:15:02 PM
I taking a guess here:

When you log onto your machine, the machine name becomes the DOMAIN name, so
that "MyMachine\User" is your full security context. If that was how you
installed SQL Server, then "MyMachine\User" probalby had administrative
rights on the computer.

However, when you log into a Windows Domain, your security context is
"DomainName\User" which may NOT have administrative rights on the machine.

There are a couple of things you can try: If you set up your SQL instance as
Mixed Authentication (SQL Server and Windows) then log in using the 'sa'
account. If you went with strictly Windows Authentication, then log into SQL
Server using the MyMachine\User context and add DomainName\User as a SQL
Server Login, and make that account a member of the sysadmin fixed server
role.

Hope this helps! Good luck.

Todd C

[quoted text, click to view]
AddThis Social Bookmark Button