2012-10-31 48 views
0

Web應用程序在IIS 6發佈的Web應用程序後,我得到follwoing錯誤DB連接錯誤公佈在IIS 6

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) 

它運行在同一個數據庫連接開發服務器罰款

請幫我

+0

這可能有助於ü: http://www.sswug.org/articlesection/default.aspx?TargetID=44331 –

回答

0

這可能有多個問題。但基本問題是Web服務器無法找到數據庫服務器。

嘗試以下步驟來找出確切的問題

  1. 是從Web服務器的數據庫服務器ping命令?

  2. 你是否在連接到SQL服務器時提供了正確的用戶。

  3. 是否可以使用您在配置文件中提供的用戶名從Web服務器連接到數據庫服務器?

嘗試以上所有,讓我知道你的結果。

+0

1.是2.是3.是 – Somashekhar

+0

然後嘗試上面Bui Akinori發佈的鏈接。它包含更多的場景。 –