I am writing a small windows service using .net framework 3.5 and its exibiting a wierd behaviour. The code gets stuck on
using (OracleConnection con = new OracleConnection("Data Source=abc;Persist Security Info=True;User ID=xyz;Password=xyz;Unicode=True"))
{
. . .
however when I debug it by attaching debugger to the service its working fine. Absoulutly clueless on this.