我正在尝试连接到sql server 2005数据库。它不在同一个LAN中。我收到错误,如如何连接不在同一局域网中的sql数据库
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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
在本地局域网内,我能够使用的IP & TCP \ IP端口号“和“实例名称”
连接是有这个
你能提供你在这里给出的连接字符串的配置文件条目吗? –
@deepi - 从您的评论中删除密码 – Dave
我为该用户名和密码使用'SQL身份验证' – deepi