Dear Friends
XOJO
Very grateful for your attention, to resolve the following:
I am doing my first XOJO application - SQL SERVER 2012
On a laptop Number 1, I have installed the database engine SQL SERVER 2012, when I run my application from laptop Number 1, it can connect to the database engine, perform queries and updates, all correctly, the IP of the Laptop Number 1 is: 192.168.129.5
I need to run the application from a laptop number 2, when connecting, it shows me the following error and I cannot connect:
Translated into English:
Login error. The login is done from a domain that is not trusted and cannot be used with windows authentication.
In Spanish:
Error de inicio de sesin. El inicio de sesin se realiza desde un dominio que no es de confianza y no se puede realizar utilizar con autenticacion de Windows.
Laptop Number 1 and Laptop Number 2, are in the same local area network
Dim conectado As Boolean
App.pDb = New classDBSqlServer
App.pDb.Host="192.168.129.5"
App.pDb.UserName = "sa"
App.pDb.Password = "XXXXXX"
App.pDb.DatabaseName = "CONSULTAS"
If App.pDb.Connect Then
conectado= True
MsgBox("Conexion Satisfactoria a SQL SERVER")
Else
conectado = False
MsgBox("ERROR AL CONECTAR AL CONECTAR a MOTOR SQL SERVER: "+ App.pDb.ErrorMessage)
End If
Return conectado
Your comments will be greatly appreciated, to solve the problem
Cordially,
Raul