apache canot connect oracle on mono...please help.

apache canot connect oracle on mono...please help.

Postby xuqifeng » Thu 01 Sep 2011 09:43

apache canot connect oracle on mono...please help.
but i can connect oracle on mono just exe type apilication...it is ok..
.aspx in apache is error.

string constring="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST= (PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=sdzy)));Persist Security Info=True;User Id=12345; Password=xu12345";

OracleConnection conn=new OracleConnection(constring);


please....help..I try again again.....

at (wrapper managed-to-native) System.Data.OracleClient.SafeNativeMethods:CreateSemaphore (intptr,int,int,intptr)
at System.Data.OracleClient.DBObjectPool..ctor (System.Data.OracleClient.DBObjectPoolControl ctrl) [0x00000] in :0
at System.Data.OracleClient.DBObjectPoolManager.FindOrCreatePool (System.Data.OracleClient.DBObjectPoolControl ctrl) [0x00000] in :0
at System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection (System.String encryptedConnectionString, System.Data.OracleClient.OracleConnectionString options, System.Data.OracleClient.OracleConnection owningObject, System.Boolean& isInTransaction) [0x00000] in :0
at System.Data.OracleClient.OracleConnection.OpenInternal (System.Data.OracleClient.OracleConnectionString parsedConnectionString, System.Object transact) [0x00000] in :0
Posts: 1
Joined: Thu 01 Sep 2011 09:32

Postby Shalex » Fri 02 Sep 2011 09:31

This is an OracleClient's call stack (not Devart's).

Please try dotConnect for Oracle on Mono in the Direct mode (this feature is avialable in Standard, Professional, and Developer editions). You can download the trial version of dotConnect for Oracle from http://www.devart.com/dotconnect/oracle/download.html.

Migration from OracleClient to dotConnect for Oracle is described at http://www.devart.com/dotconnect/oracle/docs/?Migration.html.
Devart Team
Posts: 7344
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle