Android Question Connecting B4A with Ms SQL Server

Kenny Ali

Member
Licensed User
I also try to run tha app example that came with the tutorial and it gives me this error:

(Log)
 

Attachments

  • Error B4A SQL Example.txt
    1.7 KB · Views: 440
Upvote 0

Kenny Ali

Member
Licensed User
I put it exactly where the example say to. C:/inetpub/wwwroot, and I also add the dll.

I’m sorry, what is jRDC2?
I don’t know what are you talking about when you talk about that.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
You probably have to urldecode the query
As a side note : allowing direct access to the DB with a query without escaping it, is at least very dangerous :)
 
Upvote 0

Kenny Ali

Member
Licensed User
Hey guys, I'm getting this error when I run my remote server.
Captura1.PNG


My config.properties code is this:

#SQL Server
DriverClass=net.sourceforge.jtds.jdbc.Driver
JdbcUrl=jdbc:jtds:KENNY://192.168.1.8/Test1
User=Kenny
Password=1234
ServerPort=17179

Debug=true
#******

Does someone know what's wrong?

Thanks for the help.
 
Upvote 0
Top