1. Stefania Georgiadi
  2. Valentina Reports ADK
  3. Вторник, Июль 12 2016, 01:52 PM
  4.  Подписаться через email
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?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hi Fotis,

Can you show, how do you specify the datasource string, please?
Комментарий
There are no comments made yet.
Stefania Georgiadi Ответ принят
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?
Комментарий
There are no comments made yet.
Stefania Georgiadi Ответ принят
And I have to say that similar string connects with no problem in other PCs / Server.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
One thing to check - I remember, there was similar problem and adding a port definition helped:
port = '1433'
Комментарий
There are no comments made yet.
Stefania Georgiadi Ответ принят
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...
Комментарий
There are no comments made yet.
Stefania Georgiadi Ответ принят
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!
Комментарий
There are no comments made yet.
Stefania Georgiadi Ответ принят
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?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
TCP/IP protocol should be activated. Is it active now?
Комментарий
There are no comments made yet.
Stefania Georgiadi Ответ принят
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... :)
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
i have same error MS SQL server 2012

RepStrConn="mssql://host='localhost\\SQLEXPRESS' port='1433' dbname='ADG' user='adgadmin' password='pass123'"
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hi Alexis,

So have you enabled TCP/IP protocol?
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
thanks
Sergey i fix it with enable tcp/ip on ms sql express

thanks you are big help
:D
Комментарий
There are no comments made yet.
Alexis Colon Lugo Ответ принят
Hi
i have same error and enabled TCP/IP if anable
RepStrConn="mssql://host='localhost\\SQLEXPRESS' port='1433' dbname='ADG' user='adgadmin' password='passs'"
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Alexis,

Did you try to connect from the Valentina Studio? It's much easier to try different server settings.
Комментарий
There are no comments made yet.
Alexis Colon Lugo Ответ принят
i try to connect with VS and no connect but using MS Studio user sa and pass work.
i'am using localhost
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
MS Visual Studio? Or SQL Management Studio?
Please show the screenshots of their connect dialog and the Valentina Studio.
Комментарий
There are no comments made yet.
Alexis Colon Lugo Ответ принят
MS Management Studio
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Please try to leave the Server input field empty
Комментарий
There are no comments made yet.
Alexis Colon Lugo Ответ принят
same error
my VST PRO v 8.0.2
Вложения
Комментарий
There are no comments made yet.
  • Страница :
  • 1
  • 2


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

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories