Skip to Content
Former Member
Jan 18, 2006 at 02:01 PM

DI API - SQL Login failed


I'm a little confused on a DI API program I wrote a month ago. I programmed it to use username "sa" and the relevant password as follows;

oCompany.DbUserName = "sa"

oCompany.DbPassword = "sbo"

Today, when I decided to continue the development, it kept locking up at the oCompany.Connect command.

So, having added myself as a SQL user, I amended the code to oCompany.UseTrusted = True and it started working.

The obvious thing to me was that the sa password has changed, but it hasn't.

Any thoughts?