I am getting an Exception Unhandled error.
System.Data.SqlClient.SqlException: '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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)'
Win32Exception: The network path was not found.
It show that check the server allow to remote connection and the instance. I checked the connection and also the instance all are correct.
Anyone tell me how to solve it.