snepes

JDBC Error: [PIOLEDBENT] [OSIsoft.AFSDK] Cannot connect to server 'MYAFSERVERNAME'.

Discussion created by snepes on Jun 28, 2012
Latest reply on Jul 6, 2012 by snepes

Hi,

 

I'm getting an error message ([PIOLEDBENT] [OSIsoft.AFSDK] Cannot connect to server 'MYAFSERVERNAME'.) when I try to query data from my AFServer using JDBC.

 

It's strange becouse all works fine when I do the same with a .NET application.

 

I´m using the connection string below. 

 

url = "jdbc:pi://" + piDasServerName + "/Data Source=" + afServerName + "; Integrated Security=SSPI;"

 

Thanks.

 

Ludmila Junca Lopes

 

 

 

 

 

 

Outcomes