连接字符串是正确但连接问题 [英] Connection string is Correct But Connection Problem

查看:106
本文介绍了连接字符串是正确但连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

建立与SQL Server的连接时发生与网络相关或特定于实例的错误。找不到服务器或无法访问服务器。验证实例名称已更正,并且Sql Server配置为允许远程连接。(提供程序:命名管道提供程序,错误:40-无法打开与SQL Server的连接)





PLz帮助我..............

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 corrected and that Sql Server is configured to allow remote connections.(Provider:named Pipes Provider,error:40-Could not open a connection to SQL Server)


PLz Help me..............

推荐答案

此错误消息仅表示它无法在连接字符串中找到服务器或数据库。请验证服务器,服务器名称,数据库名称等的访问权限。
This error message simply means it cannot find either the server or the database in the connection string. Please verify the access on server, server name, database name, etc.


请通过以下链接

http://stackoverflow.com/questions/16256533/a-network-related-或者特定于实例的错误 - 在建立连接时发生错误 [ ^ ]



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



希望这些帮助
Please go through the below link
http://stackoverflow.com/questions/16256533/a-network-related-or-instance-specific-error-occurred-while-establishing-a-conne[^]

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

Hope these helps


这篇关于连接字符串是正确但连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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