zj2092 发表于 2015-6-29 15:40:36

SQL Server 2005 Remote Access

  在使用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
------------------------------
页: [1]
查看完整版本: SQL Server 2005 Remote Access