Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Openning oracle connection hangs in aspx page

379538Dec 4 2002
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2003
Added on Dec 4 2002
1 comment
294 views