hello pando,
I tried with the same as U told but still the same problem persists.I changed the service name to SID in tnsnames.ora.still ora-12545 comes up .