我得到了这个错误:
A connection was successfully established with the server, but then an error occurred
during the login process. (provider: Shared Memory Provider, error: 0 - No process is
on the other end of the pipe.)
(Microsoft SQL Server, Error: 233)
我知道,这个网站上也有类似的问题,答案是,启用/IP和管道。但我同时启用了这两个功能,但仍然不起作用:
我使用的是Microsoft SQL Server 2012,用户具有完全权限。
发布于 2014-12-03 20:14:09
默认情况下,服务器设置为仅Windows身份验证。没有任何通知,错误的来源是,所以很难找出它。即使您创建了一个仅使用SQL身份验证用户,SQL Management studio也不会发出警报。
所以答案是:从Windows切换到SQL Authentication
右键单击服务器名称并选择properties
;
security
选项卡;启用security
SQL
您现在可以使用您的登录名/密码进行连接。
发布于 2015-11-12 04:59:34
要解决此问题,请使用Windows身份验证连接到SQL Management Studio,然后右键单击服务器节点“属性”->“安全性”,并启用SQL server和Windows身份验证模式。如果您使用的是“sa”,请确保帐户已启用。为此,打开登录和查看状态下的'sa‘。
如果此操作不起作用,则可能需要重新安装SQL Server
发布于 2016-11-17 12:57:21
您还可以尝试转到服务并重新启动Sql server实例。
https://stackoverflow.com/questions/27267658
复制相似问题