我远程访问的SQL Server Express 2008远程登录到SQL Server Express 2008
- 我已经打开了服务的 “SQL Server浏览器”
- 我已经把服务 “的SQL服务器(的SQLExpress)”
- 我已经启用TCP/IP并将动态端口设置为空白,并将tcp端口设置为1433属性
- 我可以连接localy(使用ip),所以我的凭据是正确的。
- 我在我的Windows防火墙设置端口1433打开时有一个例外记录。
- 我已经执行了系统重新启动,使所有服务仍然打开。
当我尝试通过远程计算机连接后,出现此错误。
Cannot connect to XXX.XXX.XXX.XX
===================================
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
------------------------------
Error Number: 3
Severity: 20
State: 0
您的想法和解决方案将不胜感激。
KJ
编辑 Hi和感谢的快速反应。目前没有连接字符串。我试图用连接:SQL Server Management Studio中2008
编辑2 嘿尼克。 我使用SERVERNAME \ SQLEXPRESS进行连接我关闭了Windows防火墙,仍然没有快乐。
我尝试添加端口像你这样的建议:
===================================
Cannot connect to XXX.XXX.XXX.XX, 1433.
===================================
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: TCP `Provider, error: 0 - No connection could be made because the target machine actively refused it.) (.Net SqlClient Data Provider)`
是为远程连接配置的服务器吗?你和服务器之间是否还有其他防火墙? – 2010-01-19 23:26:23
是的。有一个我不知道的外部硬件防火墙。哎呀。非常感谢您的帮助。我确实必须使用命名实例进行连接。 – Kieran 2010-01-21 04:40:46