SQL-SERVER2008登录错误233

问题 :

SQL Server2008在本地使用Windows身份验证登录或是使用SQL Server身份认证登录时报错:
已成功与服务器建立连接,但是在登录过程中发生错取。(provider:共享内存提供程序,error:0-管道的另一端上无任何进程。
)(Microsoft SQL Server,错误:233)

解决方法:打开‘程序’-‘所有程序’-‘Microsoft SQL Server 2008 ’-‘配置工具’-‘SQL Server 配置管理器’,在弹出的窗体中,找到‘SQL Server 2008 网络配置’,把‘MSSQLSERVER的协议’下的“Named Pipes”和“TCP/IP”启动,然后重新启动Microsoft SQL Server 2008就可以了。

其它:

重新启动数据库后,两种身份认证方式都可以连接到数据库。但是一两分钟之后,选中数据库--->右键,属性,也报同样的错。并且退出Microsoft Management studio后,再次连接数据库,两种谁方式均失败,报同样错误。

查看Windows事件日志:
Could not connect because the maximum number of '4' user connections has already been reached. The system administrator can use sp_configure to increase the maximum value. The connection has been closed. [CLIENT: 192.168.1.123]

原因分析及处理方法:

无法连接,因为已达到最大连接数4,把上图最大并发连接数设为0后,所有问题得以解决。

原文地址:https://www.cnblogs.com/rusking/p/4488196.html