I have to connect the android app with a Microsoft SQL Server (express) with RDC but the tutorial on line is't unclear. I have problems with the configuration file and the jdbc driver.
I've a new problem : in configuration file i have write the JdbcUrl same this string
JdbcUrl=jdbc:jtds:sqlserver://127.0.0.1:1433/anagrafica;instance=SQLEXPRESS
but the DriverClass not it's not rigth :
DriverClass=net.sourceforge.jtds.jdbc.Driver
can you send me aexample of file configuration for Microsoft SQL Server ?
I send you the display error when i strat the http://127.0.0.1:17178/?method=test
Now I've new problem : the connection has timed out
the my file configuration is
......
#SQL Server
DriverClass=net.sourceforge.jtds.jdbc.Driver
JdbcUrl=jdbc:jtds:sqlserver://127.0.0.1:1433/Facture;instance=SQLEXPRESS
#User=root
#Password=
ServerPort=17178
#If Debug is true then this file will be reloaded on every #query.
#This is useful if you need to modify the queries.
Debug=true
......
This is a different issue. Most probably related to your SQL Server configuration. You should open it to remote connections and create a user account for that connection.