Via Oracle SQL Developer as well as JMeter, able to connect Database.
But, when we try to connect DB via load runner(Vugen), getting below error:
Replay Error From Vugen:
"DB Connection failed {"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)"}"
LR code used to connect DB:
lr_db_connect("StepName=DatabaseConnection",
"ConnectionString=Data Source=XXXXXX;Initial Catalog=InvDatabase;Persist Security Info=True;User ID=XXXXX;Password=XXXXX",
"ConnectionName=XXXXX",
"ConnectionType=SQL",
LAST );
Any help on this is much appreciated.