我想连接到我的asp.net应用程序中的sql服务器。我已经给连接字符串在我的web.config如下:用户'sa'登录失败
我正在运行应用程序时出现以下错误:
"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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
如果我在连接使用远程服务器的IP地址作为数据源字符串,我得到以下错误 “登录错误的用户萨'”
我研究发现一些端口需要打开之间的服务器和我的机器,我完成了网络团队,仍然是同一个问题。如何解决这个问题?