SQL Server连接建立错误 [英] SQL server connection establishig error

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

问题描述

所有人都高兴


在我的项目中,运行它时发生以下错误,如下错误,
(建立与SQL Server的连接时发生与网络相关或特定于实例的错误.找不到或无法访问该服务器,请验证实例名称是否正确以及将SQL Server配置为允许远程连接.(提供者:SQL网络接口,错误:26,错误-指定服务器/实例的错误)).请帮助我克服此错误.

给你加油,
Rajeshkumar

Hai to all


In my project while running it the following error is occurs,the error like this,
(A network-related or instance-specific error occurred while establishing a connection to SQL Server.The Server was not found or not accessible,verify that the instance name is correct and the SQL server is configured to allow remote connections.(Provider: SQL Network interfaces,error:26, Error- Locating Server/Instance Specified)) .Please help me to overcome this error.

Tank You,
Rajeshkumar

推荐答案

哇-今天似乎是我们无法阅读错误消息"的日子.是什么让您认为此错误消息是错误的?它告诉您需要配置SQL Server,或者它不存在.您为什么认为此错误是错误的?如果您不发布连接字符串,我们怎么能告诉您您的连接字符串可能出了什么问题?
Wow - today seems to be the day of ''we can''t read error messages''. What makes you think this error message is wrong ? It''s telling you that the SQL Server needs to be configured, or it doesn''t exist. Why do you think this error is wrong ? How can we tell you what might be wrong with your connection string if you don''t post it ?


错误很明显.找不到SQL Server.可能的原因是:

1.未在Services中启动SQL Server.
2.您输入的SQL Server名称错误.
The error is obvious. SQL Server was not found. Possible reasons are:

1. The SQL Server is not started in Services.
2. You had the wrong SQL Server name.


您的SQL Server无法启动或错误的连接字符串设置
Your SQL Server Not Starting or Wrong Connection String Setting


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

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