发生与网络相关或特定于实例的错误 [英] A network-related or instance-specific error occurred

查看:79
本文介绍了发生与网络相关或特定于实例的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解决以下错误


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

How to solve following error


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)

推荐答案

Hello,

您可以检查以下几点:

-检查在应用程序web.config中配置的SQL Server名称/IP.您可以通过执行"ping< sql name ="或=""ip =">"来执行此操作在Web服务器上的cmd框中(!).
-尝试从Web服务器通过SQL Management Studio访问SQL Server(!)

最好的问候,
停止
Hello,

There are some points you could check:

- Check the SQL Server Name / IP configured in the applications web.config. You can do this by execute "ping <sql name="" or="" ip="">" in a cmd box on the Web Server (!).
- Try to access the SQL Server via SQL Management Studio from the Web Server (!)

Best regards,
Stops


http://www.sqlmusings.com/2009/03/11/resolving-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/[^]
This may help you.

Share what you have already done, so that others can help you.


如果您使用的是网络服务器,请检查服务器计算机是否已启动.
If you are using network server check out the server machine is started or not.


这篇关于发生与网络相关或特定于实例的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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