如何解决sql server 2008r2错误26? [英] How to resolve sql server 2008r2 error 26?

查看:784
本文介绍了如何解决sql server 2008r2错误26?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士



请解决以下问题。



网络 - 建立与SQL Server的连接时发生相关或特定于实例的错误。服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (提供者:SQL网络接口,错误:26 - 错误定位指定的服务器/实例)

Dear Sir/Ma'am

Please resolve my following problem.

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)

推荐答案

有很多可能的原因。很可能您可能有一个命名实例,但是您没有在连接字符串中提供实例名称。



重新检查连接字符串并确保已定义它正确。有关参考,请参阅 https://www.connectionstrings.com/sql-server/ [ ^ ]



了解更多信息参见 SQL网络接口,错误:26 - 找到指定的服务器/实例时出错 [ ^ ]
There are a lot of possible reasons for this. Most likely you may have a named instance but you didn't provide the instance name in the connection string.

Re-check the connection string and ensure that you have defined it correctly. For reference, see https://www.connectionstrings.com/sql-server/[^]

For more information see SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified[^]


这篇关于如何解决sql server 2008r2错误26?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆