sql server 2005 中的连接错误 [英] Connection error in sql server 2005

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

问题描述

我有一个问题,我运行应用程序 C# 时出现错误

I have a problem,I run application C# and I get a error

"与网络相关的或特定于实例的错误发生时建立到 SQL 的连接服务器.未找到服务器或无法访问.验证实例名称正确且该 SQL服务器配置为允许远程连接.(提供者: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)

???什么?谢谢

推荐答案

错误消息几乎说明了一切:确保实例名称正确(如果您的 SQL 服务器正在使用实例)并确保您的服务器配置为允许远程连接.

The error message pretty much says it all: make sure the instance name is correct (if your SQL server is using instances) and make sure your server is configured to allow remote connections.

如何配置 SQL Server 以允许远程连接

如何连接到服务器实例

这篇关于sql server 2005 中的连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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