I create database link in SQL database, thus firewall already open, i can connect to destination Database via SQL Management Studio is OK. However, when i create database link error happened as below:
Named Pipes Provider: Could not open a connection to SQL Server .
OLE DB provider "SQLNCLI11" for linked server "XXXXXX" returned message "Login timeout expired".
OLE DB provider "SQLNCLI11" for linked server "XXXXXX" returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server.
Server is not found or not accessible.
Check if instance name is correct and if SQL Server is configured to allow remote connections.
For more information see SQL Server Books Online.". (.Net SqlClient Data Provider)
Please help me to solve this problem?