UCMDB Installation fails Database Configuration fails

installing UCMDB vis DM getting below error:-


2015-10-21 11:39:27] [INFO] Executing script configure UCMDBSERVER_DB_Configuration on server

[2015-10-21 11:39:27] [INFO] UCMDB Database configuration has started.

[2015-10-21 11:39:43] [ERROR] Caught an exception when Verify connecting database:

[2015-10-21 11:39:43] [ERROR] Exception Type: System.Management.Automation.MethodInvocationException

[2015-10-21 11:39:43] [ERROR] Exception Message: Exception calling "Open" with "0" argument(s): "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)"

[2015-10-21 11:39:43] [ERROR] PowerShell script terminated.


Note UCMDB and SQL database are two different servers.

ODBC connectivity is OK.