1. Stefania Georgiadi
  2. Valentina Reports ADK
  3. Dienstag, Juli 12 2016, 01:52 PM
  4.  Abonnieren via E-Mail
Hello,
On a Xojo application I print using Valentina Reports ADK (latest version). Now on all my test machines works fine. On a specific site I get "Report Error 611604: Datasource error: "[FreeTDS] Unable to connect: localhost :: worktimer".

Using Xojo 2016 Release 1.1, V4RB 6 (V: 6.5.8) Connecting to MSSQL Server, Windows 7 Enterprise...

Any ideas?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Fotis,

Can you show, how do you specify the datasource string, please?
Kommentar
There are no comments made yet.
Stefania Georgiadi Akzeptierte Antwort
Hi Sergey,

the string is: mssql://'localhost', user='sa', password='Tng318101', db='worktimer'

The credentials (host, username, password, db name) are correct since they are the same that Xojo uses to connect.

Any ideas?
Kommentar
There are no comments made yet.
Stefania Georgiadi Akzeptierte Antwort
And I have to say that similar string connects with no problem in other PCs / Server.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
here host= is missing, or it's just a typo?
mssql://host='localhost', user='sa', password='Tng318101', db='worktimer'

And you can connect to this MSSQL server from the Valentina Studio, right?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
One thing to check - I remember, there was similar problem and adding a port definition helped:
port = '1433'
Kommentar
There are no comments made yet.
Stefania Georgiadi Akzeptierte Antwort
Sergey this is a customer's site. I have not installed Valentina Studio!

I will try adding the port and see what happens...

I will let you know in a few minutes...
Kommentar
There are no comments made yet.
Stefania Georgiadi Akzeptierte Antwort
No success with adding the port!

Any other ideas? I will be downloading Valentina Studio to see if I can connect from it to the server!
Kommentar
There are no comments made yet.
Stefania Georgiadi Akzeptierte Antwort
It seems I can't connect from Valentina Studio as well!

It seems to "see" the server (I am prompted to connect to localhost) however, I cannot connect!

Any ideas? Any protocol that needs to be activated?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
TCP/IP protocol should be activated. Is it active now?
Kommentar
There are no comments made yet.
Stefania Georgiadi Akzeptierte Antwort
Hey Sergey,

I just turned on TCP/IP protocol for all types of clients (native 10 etc), since it was only active for one, and it worked!

Sometimes it takes so much for such a simple thing!

Thanks for your support... :)
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
i have same error MS SQL server 2012

RepStrConn="mssql://host='localhost\\SQLEXPRESS' port='1433' dbname='ADG' user='adgadmin' password='pass123'"
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Alexis,

So have you enabled TCP/IP protocol?
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
thanks
Sergey i fix it with enable tcp/ip on ms sql express

thanks you are big help
:D
Kommentar
There are no comments made yet.
Alexis Colon Lugo Akzeptierte Antwort
Hi
i have same error and enabled TCP/IP if anable
RepStrConn="mssql://host='localhost\\SQLEXPRESS' port='1433' dbname='ADG' user='adgadmin' password='passs'"
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Alexis,

Did you try to connect from the Valentina Studio? It's much easier to try different server settings.
Kommentar
There are no comments made yet.
Alexis Colon Lugo Akzeptierte Antwort
i try to connect with VS and no connect but using MS Studio user sa and pass work.
i'am using localhost
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
MS Visual Studio? Or SQL Management Studio?
Please show the screenshots of their connect dialog and the Valentina Studio.
Kommentar
There are no comments made yet.
Alexis Colon Lugo Akzeptierte Antwort
MS Management Studio
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Please try to leave the Server input field empty
Kommentar
There are no comments made yet.
Alexis Colon Lugo Akzeptierte Antwort
same error
my VST PRO v 8.0.2
Anhänge
Kommentar
There are no comments made yet.
  • Seite :
  • 1
  • 2


There are no replies made for this post yet.
However, you are not allowed to reply to this post.