緊急求助
程序連接sqlserver
數據庫出現問題
服務器配置
windowsxp
framework
sqlserver
出現如下錯誤
An error has occurred while establishing a connection to the server
When connecting to SQL Server
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:
Could not open a connection to SQL Server)
檢查後發現是webconfig的配置問題
將server=local
改成本地計算機名
問題解決
From:http://tw.wingwit.com/Article/program/net/201311/11503.html