2010-03-11 90 views
0

我得到crazied該錯誤(提供者:SQL網絡接口,錯誤:26 - 錯誤定位指定的服務器/實例)錯誤

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

我對VS.NET 2008服務器資源管理器連接Poroperties

連接字符串:

Data Source=GOKTUG-PC;Initial Catalog=BILIN;Integrated Security=True;Pooling=False 

提供商= .NET Framework數據提供的SQL Server

有一個在服務器資源管理器連接沒有問題

我的連接字符串是

<add name="BilinCnnStr1" connectionString="Data Source=GOKTUG-PC;Initial Catalog=BILIN;Integrated Security=SSPI;Min Pool Size=5;Max Pool Size=60;Connect Timeout=30" providerName="System.Data.SqlClient"/> 
    </connectionStrings> 

我想我已經嘗試了關於stuation一切,並試圖從步驟的鏈接在下面。 請回答問題,如果你有解決這個問題......

http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/

+0

您是否嘗試過使用SQL Server 2008企業管理器進行連接? – hallie 2010-03-11 14:47:51

+0

是的,我已經嘗試過......這明確連接... – Megawolt 2010-03-12 11:10:33

回答

0

也許問題是與集成安全性。

您需要確保您使用的是擁有數據庫權限的用戶運行網站。

+0

我應該讓本地使用? – Megawolt 2010-03-13 11:20:44

+1

用戶憑證不匹配會導致完全不同的錯誤(即使具有集成安全性)。這個錯誤意味着應用程序甚至無法找到SQL實例。 – ashes999 2013-04-25 18:42:05

相關問題