I have developed a WPF application that runs some tasks in the background. Whenever it wants to connect to database I get an error. Everything works fine in local test, but it fails in Server.
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
I have checked connectionstring and enabled TCP/IP for database, but nothing has changed.