2013-01-08 228 views
-1

我通过SSMSE 2005连接到SQL时随机出现以下错误。无法连接到本地主机

Additional Information: 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, error: 233).

任何帮助将不胜感激。

+0

不是一个编程的问题。确保你的SQL服务器正在监听端口。 – Raptor

+0

不,我的网络配置已经在使用SQL身份验证。 – Programmer

+0

它确实在听港口。当我关闭SSMSE并再次尝试连接时,一切都很顺利。 – Programmer

回答

0

你可以尝试先检查是否以下协议是从SQL Server配置管理器中启用:

  1. 命名管道

  2. TCP/IP

另外,从外围应用配置管理器检查,看看你的SQL Express实例配置为接受远程连接。

请参考以下链接了解更多的帮助:

http://msdn2.microsoft.com/en-us/library/bb326280.aspx

0

也许web.config connectionString导致结果。更换集成安全性=缺省的认证细节真:

connectionString 

="Data Source=STL-COPELAND\SQLSERVER2005;Initial Catalog=IC;Integrated Security=True" 

使用“用户ID = sa密码= PWD”例如在连接字符串中:

connectionString 

="Data Source=STL-COPELAND\SQLSERVER2005;Initial Catalog=IC;User ID=sa Password=pwd" 
相关问题