远程登录SQL2005:SQL Server does not allow remote connections
2009-07-29 13:53
681 查看
远程登录SQL2005出错
Error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
通过telnet IP 1433 发现服务器并没有监听
在服务器上netstat -an查看果然如此
检查server property中security中是否启用sql和windows混和登录和connection中是否allow remote connection
检查configuration manager中是否启用了tcp ip和named pipe
也可以在surface area 检查configuration中检查database engine的remote connection设置
检查操作系统防火墙设置,打开1433端口
但是问题还是依旧,最后发现在configuration manager中tcp/ip的property中IP Address:IP1设置的IP和port均没错,而IPALL中居然设置了Dynamic Port
马上设置1433后,问题解决,难道安装完时就是这个作为默认值吗?
Error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
通过telnet IP 1433 发现服务器并没有监听
在服务器上netstat -an查看果然如此
检查server property中security中是否启用sql和windows混和登录和connection中是否allow remote connection
检查configuration manager中是否启用了tcp ip和named pipe
也可以在surface area 检查configuration中检查database engine的remote connection设置
检查操作系统防火墙设置,打开1433端口
但是问题还是依旧,最后发现在configuration manager中tcp/ip的property中IP Address:IP1设置的IP和port均没错,而IPALL中居然设置了Dynamic Port
马上设置1433后,问题解决,难道安装完时就是这个作为默认值吗?
相关文章推荐
- 如何解决sql server2005的“不允许远程连接”错误.(how to resolve the error: "SQL Server does not allow remote connections" for SQL Server2005)
- Linq连接数据库发生错误,提示"...SQL Server does not allow remote connections..."
- “SQL Server does not allow remote connections”错误的解决
- [SQL Error]SQL Server does not allow remote connections
- SQL2005远程登录失败的检查和解决(Could not open a connection to SQL Server)
- SQL2005远程登录失败的检查和解决(Could not open a connection to SQL Server)
- Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
- MySql设置远程登录-1130:Host ... is not allowed to connect to this MySQL server
- Delphi使用BDE连接远程MS SQL SERVER 2000数据库时出现“Db-library network communciations layer not loaded.”错误的解决方法
- server does not support secure connections
- Potential causes of the "SQL Server does not exist or access denied" error message
- 远程mysql_java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect
- 尝试通过使用 TCP/IP 套接字连接到群集中的 SQL Server 命名实例时收到“SQL Server does not exist or access denied”(SQL Server 不存在,或者访问被拒绝)错误消息
- SQL2005远程登录失败的检查和解决(Could not open a connection to SQL Server)
- 远程mysql_java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect
- Fix the error of ""Server does not support secure connections. " ?" when sending email
- ERROR: The version of SQL Server in use does not support datatype 'datetime2'.
- SQL Agent Job 报“Access to the remote server is denied because the current security context is not trusted”
- Delphi使用BDE连接远程MS SQL SERVER 2000数据库时出现“Db-library network communciations layer not loaded.”错误的解决方法
- 奇怪的VB ADODB错误 "sql server does not exist or access denied"