连接字符串是正确但连接问题
问题描述:
建立与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