SQL服务器2016年233个错误日志条目

问题描述:

我试图在SQL Sever的2016年创建sa用户,但我无法登录,我收到以下错误我SQL服务器2016年233个错误日志条目

Connection to the server has been successfully installed , but then an error occurred at the entrance . (Provider: Shared Memory Provider, error: 0 - On both ends of the channel there are no processes .) (Microsoft SQL Server, Error 233

所有协议都是不同的TCP/IP

禁用

我已启用Windows和SQL Server身份验证。可能是什么问题?

+0

顺便说一下,我已经禁用除tcp/ip之外的所有协议。它没有帮助... – SergeiK

+0

您无法创建“sa”用户。如果您在安装时选择了混合身份验证,则必须添加其密码。 顺便说一句,你可以用你的Windows用户重置它。 –

+0

您正在本地连接并使用Windows集成身份验证成功连接,但未能使用SA连接。安装期间是否启用了混合模式authN,并设置了SA密码,或者在实例启动并运行后是否启用了混合模式authN?如果是后者,则需要设置SA密码。至于您的错误18456,请参阅http://sqlblog.com/blogs/aaron_bertrand/archive/2011/01/14/sql-server-v-next-denali-additional-states-for-error-18456.aspx – SQLmojoe

该错误提示SQLServer是不能够使用TCP,IP因为某些原因,并使用下一个协议(共享存储器)与出成功尝试..

MSDN状态如下面分辨率..

Use the SQL Server Configuration Manager tool to allow SQL Server to accept remote connections.

怎么做..

配置远程访问选项

In Object Explorer, right-click a server and select Properties.
Click the Connections node.
Under Remote server connections, select or clear the Allow remote connections to this server check box

我也建议在连接字符串中使用端口号。

+0

I检查“允许远程连接”按钮,但我仍然有错误 - 我无法连接到服务器。错误号是:18456 – SergeiK

+0

你最后添加了portnumber,你可以粘贴整个错误,看看sql服务是否从配置管理器运行 – TheGameiswar

+0

@SergeiK:你也可以像这样强制tcp.tcp:server \ instancename,portnumber – TheGameiswar