熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

ado.net數據庫連接

2022-06-13   來源: .NET編程 
    緊急求助程序連接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
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.