If u r using TNS ( \oracle\network\admin\tnsnames.ora )
use the full connection details -
<connectionStrings>
<add name="aspnet_empost" connectionString="SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.12)(PORT=1521))(CONNECT_DATA=(SID=mylink)));uid=system;pwd=nk321$$;"/>
</connectionStrings>
make sure your tns names file have the entries.
if you r using a direct connectio to server
check this
http://forums.asp.net/t/1246799.aspx
hope it helps.
Hope it helps.
-Manas
=======================================
If this post is useful to you, please mark it as answer.