http://blog.csdn.net/dream_like/article/details/2859786
SQL Server 2005 Sa 用户的启用
SQL Server 2005 默认安装后,根据开发需要其实还要对其进行一些configuration。
Section 1
如果我们在Microsoft SQL Server Management Studio 上尝试利用自己创建的login用户在SQL Server Authentication mode 下Connect 到SQL Server,很可能会遇到以下问题。
TITLE: Connect to Server
------------------------------
Cannot connect to EVILKILLER-NB/SQLEXPRESS.
------------------------------
ADDITIONAL INFORMATION:
Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18452&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
所以我们进行如下configuration 让developer可以用SQL Server Authentication mode login,同时重新enable了sa 使其能够login,以下一段是MSDN的原文,不过记得先用Windows Authentication mode login再对Server进行操作。
选择Surface Area Configuration for Services and Connections
选择Local and remote connections和其下的Using both TCP/IP and named pipes,然后Apply。
重启Server(或者Services)后就OK了。