Windows service in vb.nethttp://forums.asp.net/t/780375.aspx/1?Windows+service+in+vb+netThu, 23 Dec 2004 17:04:00 -0500780375780375http://forums.asp.net/p/780375/780375.aspx/1?Windows+service+in+vb+netWindows service in vb.net Module to connect to Oracle works fine in vbapp but not in service ?? Error:ORA-12154:TNSNAmes could not be resolved. 2004-12-22T14:20:01-05:00781566http://forums.asp.net/p/780375/781566.aspx/1?Re+Windows+service+in+vb+netRe: Windows service in vb.net I connect to Oracle in services all of the time. I expect you are having a config problem: e.g. are you expecting the TNSName to come from a file in a particular location? -- the service is not actually running in the directory of its EXE but rather in a system dir. 2004-12-23T17:03:59-05:00