技术开发 频道

SQL Server 2005远程连接不上的解决方法

  【IT168技术文档】

  在使用SQL Server 2005的远程连接时,如果遇到连接不上的问题,请按下列步骤操作:

  1.server要保证在SQL Server Configuration Manager里的SQL Server 2005 Network Configuration里,确保TCP/IP的protocol是enable的。

  2.client也要保证Native的TCP/IP protocol也enable。

  3.当然要确保server的sql server服务已经开启。

  4.server如果开了firewall,在exceptions里添加1433 port。

  大多数情况是由于防火墙导致的,一般来说导致的错误描述是:

TITLE: Connect to Server ------------------------------ Cannot connect to INRIE. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476 ------------------------------ BUTTONS: OK ------------------------------
0
相关文章