Good I'm doing an application in visual basic 2017 that connects to SQL, the problem comes when I run the .exe on the client's machine and I want to generate a report Note that the program is connected to the database that is on the server perfectly, the problem is only with the report this is the error that pulls
this is the code I use
Dim Reporte As New rpt_Reporte_Procesadas
Dim boConnectionInfo As ConnectionInfo = New ConnectionInfo
boConnectionInfo.ServerName = "10.130.XX.XXX"
boConnectionInfo.DatabaseName = "Base_datos"
boConnectionInfo.UserID = "Admin"
boConnectionInfo.Password = "XXXXXX"
boConnectionInfo.Type = ConnectionInfoType.SQL
For Each t As Table In Reporte.Database.Tables
Dim boTableLogOnInfo As TableLogOnInfo = t.LogOnInfo
boTableLogOnInfo.ConnectionInfo = boConnectionInfo
t.ApplyLogOnInfo(boTableLogOnInfo)
Next
What I find strange is that it does not establish the name of the database and at the time of the message it does not let me write in that field either, I think the problem goes around
Thanks in advance