-
Andrew Davis
- PowerBuilder
- Tuesday, 24 February 2026 07:07 AM UTC
Morning
Hopefully someone can help me,
I am trying to connect to a SQL Express database located on a PC from a different PC, computers are networked and talking, but not in a domain
I should say that it connects using sql auth on SQL managemnt studio on both machines
I am getting the following error
Microsoft OLE DB Driver 19 for SQL Server
Login failed. The login is from an untrusted domain and
cannot be used with integral authentication.
This is my connection parameters..
as_dbms = ProfileString ( ls_inifile, "Database", "DBMS", "MSOLEDBSQL SQL Server")
as_database = ProfileString ( ls_inifile, "Database", "Database", "")
as_userid = ProfileString ( ls_inifile, "Database", "UserID", "")
as_dbpass = ProfileString ( ls_inifile, "Database", "DBPass", "")
as_logid = ProfileString ( ls_inifile, "Database", "LogID", "sa")
as_logpass = ProfileString ( ls_inifile, "Database", "LogPassword", gs_mp_b2k_password)
as_server = ProfileString ( ls_inifile, "Database", "Servername", ls_servername+"\SQLEXPRESS")
as_dbparm = ProfileString ( ls_inifile, "Database", "DBParm", "Provider='MSOLEDBSQL19',Database='B2kNetdb',TrustedConnection=1,Encrypt=0,DelimitIdentifier=1,TrimSpaces=1")
as_lock = ProfileString ( ls_inifile, "Database", "Lock", "")
as_autocommit = ProfileString ( ls_inifile, "Database", "AutoCommit", "false")
Any help would be greatly apptrciated
thanks
andrew
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.