[Mono-bugs] [Bug 59939][Nor] New - OracleConnection:Open throth unhandled exection on Mac OS X 10.3.4

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 10 Jun 2004 07:47:29 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dieter@fiebelkorn.net.

http://bugzilla.ximian.com/show_bug.cgi?id=59939

--- shadow/59939	2004-06-10 07:47:29.000000000 -0400
+++ shadow/59939.tmp.15821	2004-06-10 07:47:29.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 59939
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: MacOS X 10.3.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dieter@fiebelkorn.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: OracleConnection:Open throth unhandled exection on Mac OS X 10.3.4
+
+Unhandled execption using "System.Data.OracleClient.OracleConnection:Open()" on Mac OS X 
+10.3.4 on Oracle 9.2.0.1.0.
+
+Steps to reproduce the problem:
+1. Download example form "http://www.go-mono.com/oracle.html" (TestExamples.cs)
+2. Check (and change) dbname, user, password and select-statement
+3. Check user, password and dbname by using sqlplus (sqplus user/password@dbname)
+4. Comiling as described: mcs TestExample.cs -r System.Data.dll -r System.Data.OracleClient.dll
+5. "Compilation succeeded"
+6. run a described: mono TestExample.exe
+
+Actual Results:
+"Unhandled execption"
+Unhandled Exception: System.DllNotFoundException: oci
+in <0x000f4> (wrapper managed-to-native) OciNativeCalls:OCIEnvCreate 
+(intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr)
+in <0x00054> System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate 
+(intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr)
+in <0x00070> System.Data.OracleClient.Oci.OciEnvironmentHandle:.ctor 
+(System.Data.OracleClient.Oci.OciEnvironmentMode)
+in <0x00064> System.Data.OracleClient.Oci.OciGlue:CreateConnection 
+(System.Data.OracleClient.OracleConnectionInfo)
+in <0x00040> System.Data.OracleClient.OracleConnection:Open ()
+in <0x00088> (wrapper remoting-invoke-with-check) 
+System.Data.OracleClient.OracleConnection:Open ()
+in <0x0009c> Test:Main (string[])
+
+Expected Results:
+"Connect to database" (sqlplus <user>/<password>@<dbname> works!)
+
+How often does this happen? 
+Every time! Tested on Mono 0.91 and 0.95
+
+Additional Information:
+- Mono installed by "mono-0.95.dmg" and "mono-0.91.mpkg.tar.gz" before!
+- sqlplus works and also a application using OCI (and proc) are working correctly!