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

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 1
Joined: Thu 01 Sep 2011 09:32

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

Post by 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

Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Post by 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 ... ation.html.

Post Reply