2010-03-11 93 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

相关问题