Oracle connection string in vb .net
Posted on 2014-11-21
This is my connection string:
ordSelCon.ConnectionString = "Data Source=test.world;Integrated Security=no;User ID=GLF;Password=PRIMERA1"
This work fine in my windows form proyect.
Now, I'm developing a windows service inside the same solution. When I use the same connection string inside the service I get the follwing error: ORA-12154 TNS:could not resolve the connect identifier specified.
The TNSNAMES.ORA is on local machine.
It seems to be a permissions problem, I guess but I'm not sure. Also was tested using another account (with administrator privileges) and fails again.
Need help to solve this issue. Thanks