I have a ASP.NET application which is in a web server. I want my application to connect to SQL Server which is in my local machine. How is it done using TCP/IP. I tried specifying the IP address of my local machine in the Server section and added the exception in the firewall etc. But I am getting error all the time.
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) (Microsoft SQL Server, Error: -1)
1 Answer