SV: [Mono-list] Automake: System.Data.OracleClient
tim@timcoleman.com
tim@timcoleman.com
Tue, 11 Feb 2003 12:56:10 -0500
Okay, I managed to get the calls to OCIEnvCreate, and OCIHandleAlloc
to work! This is pretty exciting, because I had begun to wonder how
to pass data between the OCI managed code and the OCI glue unmanaged
code anyway.
Later on, when I can actually access the database from here, I'll
see if I can log in.
> No, it uses oci.
> Brgds, Steinar
>
> Copied from
> http://groups.google.com/groups?hl=no&lr=&ie=UTF-8&oe=UTF-8&selm=0bd501c
> 279d2%24c9530730%2495e62ecf%40tkmsftngxs02
>
>
> I'm getting the same OCIEnvCreate returned -1 Error on
> call to Open() & have yet to find a solution.
>
> Any help would be appreciated.
>
> Thanks,
> Bill Goerlich.
>
> *snip*
> [Exception: Could not create an environment: OCIEnvCreate
> returned -1.]
> System.Data.OracleClient.DBObjectPool.GetObject
> (Boolean& isInTransaction) +479
>
> System.Data.OracleClient.OracleConnectionPoolManager.GetPoo
> ledConnection(String encryptedConnectionString,
> OracleConnectionString options, Boolean& isInTransaction)
> +165
> System.Data.OracleClient.OracleConnection.OpenInternal
> (OracleConnectionString parsedConnectionString, Object
> transact) +836
> System.Data.OracleClient.OracleConnection.Open() +32
> ASP.oracle_test_aspx.Page_Load(Object sender, EventArgs
> e) in C:\websites\institute\htdocs\oracle_test.aspx:17
> System.Web.UI.Control.OnLoad(EventArgs e) +67
> System.Web.UI.Control.LoadRecursive() +29
> System.Web.UI.Page.ProcessRequestMain() +724
> *snip*
>
>
> -----Opprinnelig melding-----
> Fra: Simon Waite [mailto:simon@psionics.demon.co.uk]
> Sendt: 11. februar 2003 11:18
> Til: mono-list@ximian.com
> Emne: Re: [Mono-list] Automake: System.Data.OracleClient
>
> Probably it uses the ODBC Drivers which I see are installed already
> in ODBC Manager.
>
> Regards,
>
> Simon
>
> ----- Original Message -----
> From: "Steinar Herland" <steinar.herland@gecko.no>
> To: <mono-list@ximian.com>
> Cc: <tim@timcoleman.com>
> Sent: Tuesday, February 11, 2003 6:38 AM
> Subject: SV: [Mono-list] Automake: System.Data.OracleClient
>
>
> Microsoft's System.Data.OracleClient.dll doesn't use any glue-library.
> Perhaps we should investigate further why _we_ have to?
>
> Note: I have tried to modify the code in
> mcs/class/System.Data.OracleClient/System.Data.OracleClient to connect
> without the glue, but have so far failed.
>
> Any interop-gurus who can shed some light on the matter?
>
> Best regards
> Steinar Herland
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>