ado.net數據庫連接
來源:易賢網 閱讀:1262 次 日期:2014-08-20 14:02:39
溫馨提示:易賢網小編為您整理了“ado.net數據庫連接”,方便廣大網友查閱!

緊急求助asp.net2.0程序連接sqlserver2000數據庫出現(xiàn)問題

服務器配置:

windowsxp

framework2.0

sqlserver2000

出現(xiàn)如下錯誤:

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)

檢查后發(fā)現(xiàn)是webconfig的配置問題,將server=local,改成本地計算機名,問題解決。

更多信息請查看IT技術專欄

更多信息請查看網絡編程
易賢網手機網站地址:ado.net數據庫連接
關于我們 | 聯(lián)系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權所有:易賢網