At last I have figured out myself. The solution is that you have to install TCP/IP option under Net80 in the Oracle installation CD. Secondly you should have one TNS defination in TNSNAMES.ORA file. By doing this oracle form runs successfully but the application doesnot call other forms. When the other form is called from the inteface then it came back to same point. If anybody knows about this problem then please share it.