本文介绍了发生与网络相关或特定于实例的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何解决以下错误 建立与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
www.sqlmusings/2009/03/11/resolving-a-network-related-or-instance-specific-error发生-while-建立与SQL Server的连接/ [ ^ ] 这可能对您有帮助. 分享您已经完成的工作,以便其他人可以帮助您. www.sqlmusings/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.
更多推荐
发生与网络相关或特定于实例的错误
发布评论