Openning oracle connection hangs in aspx page
I have an application(on win2k) which connnects to oracle database(on Solaris machine).Application connects to DB & executes a simple query. As .NET application it works fine.
if the same code is copied & pasted in a aspx page, page just hangs. Have created a DSN(ORAJOBINFO). Ran in debug Mode at statement connection.open() system hangs.
following is snipet of code:
//
string connString = "Provider=OraOLEDB.Oracle.1;DSN=ORAJOBINFO;system;manager";
OdbcCon = new OdbcConnection(connString);
OdbcCommand OdbcCom = new OdbcCommand(Query);
OdbcCom.Connection = OdbcCon;
OdbcCon.Open();
//
same code with DB2 DSN works fine.
can any one help me.