[求救]SQL Server 2005 Express無法遠端連線

看板Database作者 (患得患失)時間16年前 (2008/04/19 00:01), 編輯推噓5(500)
留言5則, 1人參與, 最新討論串3/4 (看更多)
大家好 我的電腦Window XP SP2 灌了VS2005 以及 sql server 2005 express 可以從遠端用SQL server management express連線 並做資料庫的修改 可是要用ASP.NET程式從別的主機對這台主機作資料存取 總是出現 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) 網路上有人提到連線字串中的Data Source要寫成 xxx.xxx.xxx.xxx\SQLEXPRESS 試了也是沒用 在命令提示字元輸入net start | findstr /i sql後 出現SQL Server <SQLEXPRESS> 以及 SQL Server Browser 所以服務應該有開啟 輸入netstat -a 有出現 TCP xxxx:ms-sql-s xxxx:0 LISTENING 所以1433 port 應該是有在聽 到底是甚麼問題阿?? 麻煩有經驗的版友救一下吧 已經弄了一個禮拜了... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.128.120.94 pyrochlore:轉錄至看板 C_Sharp 04/19 00:03

04/19 15:42, , 1F
別台主機上先裝一下client版的sql2005
04/19 15:42, 1F

04/19 15:47, , 2F
如果沒有client版的話,把有裝那台c:\winnt\system32底下的
04/19 15:47, 2F

04/19 15:52, , 3F
dbnetlib.dll和dtwdblib.dll複製過去..
04/19 15:52, 3F

04/19 15:57, , 4F
抱歉...你好像己經裝了!!我看錯了..http://0rz.tw/4a3WO希望
04/19 15:57, 4F

04/19 16:01, , 5F
對你有幫助...(這裡的推文真的有夠慢的,5分鐘才可以一推)
04/19 16:01, 5F
文章代碼(AID): #182CNrIp (Database)
討論串 (同標題文章)
文章代碼(AID): #182CNrIp (Database)