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
------------------------------

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章