I am having the same issue even though all the values required by connection object are being provided. I even tried with connection string method but got the same results. Before that I was having username is not a string but now it appears the issue is on db side