SV: SV: [Mono-list] Automake: System.Data.OracleClient

Steinar Herland steinar.herland@gecko.no
Wed, 12 Feb 2003 06:59:58 +0100


Congratulations! Very nice.

-----Opprinnelig melding-----
Fra: tim@timcoleman.com [mailto:tim@timcoleman.com]=20
Sendt: 11. februar 2003 18:56
Til: Steinar Herland
Kopi: mono-list@ximian.com; Simon Waite; tim@tux.epenguin.org
Emne: Re: SV: [Mono-list] Automake: System.Data.OracleClient=20

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
>=20
> Copied from
>
http://groups.google.com/groups?hl=3Dno&lr=3D&ie=3DUTF-8&oe=3DUTF-8&selm=3D=
0bd501c
> 279d2%24c9530730%2495e62ecf%40tkmsftngxs02
>=20
>=20
> I'm getting the same OCIEnvCreate returned -1 Error on=20
> call to Open() & have yet to find a solution.
>=20
> Any help would be appreciated.
>=20
> Thanks,
>  Bill Goerlich.
>=20
> *snip*
> [Exception: Could not create an environment: OCIEnvCreate=20
> returned -1.]
>    System.Data.OracleClient.DBObjectPool.GetObject
> (Boolean& isInTransaction) +479
>   =20
> System.Data.OracleClient.OracleConnectionPoolManager.GetPoo
> ledConnection(String encryptedConnectionString,=20
> OracleConnectionString options, Boolean& isInTransaction)=20
> +165
>    System.Data.OracleClient.OracleConnection.OpenInternal
> (OracleConnectionString parsedConnectionString, Object=20
> transact) +836
>    System.Data.OracleClient.OracleConnection.Open() +32
>    ASP.oracle_test_aspx.Page_Load(Object sender, EventArgs=20
> 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*
>=20
>=20
> -----Opprinnelig melding-----
> Fra: Simon Waite [mailto:simon@psionics.demon.co.uk]=20
> Sendt: 11. februar 2003 11:18
> Til: mono-list@ximian.com
> Emne: Re: [Mono-list] Automake: System.Data.OracleClient
>=20
> Probably it uses the ODBC Drivers which I see are installed already
> in ODBC Manager.
>=20
> Regards,
>=20
> Simon
>=20
> ----- Original Message -----=20
> 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
>=20
>=20
> Microsoft's System.Data.OracleClient.dll doesn't use any glue-library.
> Perhaps we should investigate further why _we_ have to?=20
>=20
> 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.
>=20
> Any interop-gurus who can shed some light on the matter?
>=20
> Best regards
> Steinar Herland
>=20
>=20
> _______________________________________________
> 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
>=20