Home > Archive > MS SQL Server > February 2006 > SQL Server 2005 - "sa"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SQL Server 2005 - "sa"
Detektyw Przyboś

2006-02-16, 11:23 am

Hello
I instaled SQL Server 2005 Express Edition first time and I have problem
with changing Authentication from Windows to SQL Server.
I try to login "sa" but I get message.
"User is not associated with a trusted SQL Server Con.."
Other users also don't go.
Are there same option in Users properities which I have to change in order
to get allowed login?

I instaled SQL Server useing Authentication Windows.
Anyone got any ideas what is going on?


Jens.Suessmeyer@googlemail.com

2006-02-17, 7:23 am

Thats the error message you are getting if you just setup WIndows
authentification. If you do so, you can=B4t login with the sa account,
because this would require Mmixed Authentication (SQL and Windows
authentication). So one option is to change the Authentication mode
Mixed Mode, of you use Windows Authentication for the users to login.

If you don=B4t have a gui to change the Authentication code, you can
change the registry key for authentication (which also works in 2005):

-----------------------------------------------------------------
http://support.microsoft.com/defaul...b;EN-US;q285097
-----------------------------------------------------------------
INF: How to Change the Default Login Authentication Mode to SQL While
Installing SQL Server 2000 Desktop Engine by Using Windows Installer
-----------------------------------------------------------------
<snip>
Another way to change the security mode after installation is to stop
SQL Server and set the appropriate registry key for your installation:


Default instance:
HKLM\Software\Micros
oft\MSSqlserver\MSSq
lServer\LoginMode


Named instance:
HKLM\Software\Micros
oft\Microsoft SQL Server\Instance
Name\MSSQLServer\Log
inMode


to 2 for mixed-mode or 1 for integrated. (Integrated is the default
setup for the SQL Server 2000 Data Engine.)
</snip>


-URL----------------------------------------------------------------



HTH, Jens Suessmeyer.

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com