I am an absolute DUMMY when it comes to "networking". We are using Syspro and I am trying to connect to it via B4J code but just don't get it right (no problem via ODBC connection or making use of "Launch Power Query Editor" that is available under Excel -> Get Data -> Launch Power Query Editor.
I am connected to the company network (VPN) and my B4J connection code is as follows:
.....and.....
.....and.....
But no joy - keep on getting the following error:
Please give some advise on how to solve this issue.....browsed the forum and the web for hours but just do not find an answer to the error....
I am connected to the company network (VPN) and my B4J connection code is as follows:
B4X:
#AdditionalJar: mssql-jdbc-9.2.1.jre11
.....and.....
B4X:
Dim SQL1 As SQL
.....and.....
B4X:
SQL1.Initialize2("com.microsoft.sqlserver.jdbc.SQLServerDriver", "jdbc:sqlserver://;servername=xxx-sql-001;databaseName=Syspro_Live_XXX_X", "johans", "xxxxxxxxxx")
But no joy - keep on getting the following error:
B4X:
com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'johans'. ClientConnectionId:4eece5da-4676-434a-b682-80289365fc6d
Please give some advise on how to solve this issue.....browsed the forum and the web for hours but just do not find an answer to the error....
Last edited: