当连接到SQL Server 2012快速从Asp.Net的应用程序,我得到下面的异常指定的服务器/实例:SQL网络接口,错误:26 - 错误定位,同时通过asp.net应用程序连接
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)
虽然,我可以远程连接到SQL Server,但是一旦我将应用程序发布到数据库所在的服务器上,我就得到了上述异常。
我试过在网上共享的各种方法,但没有为我工作。有什么建议么?