Since u have installed them in seperate directory there will be 2 TNSNAMES.ORA files in their network folder.So make appropriate changes in the c:\orant\network\tnsnames.ora file.