[Mono-list] ASP.NET and System.Data.OracleClient help

Paolo Molaro lupus@ximian.com
Fri, 25 Jun 2004 15:31:32 +0200


On 06/24/04 Michael wrote:
> I cannot seem to get datagrids with the oracle client working even thou I
> do not seem to have problems using the datareader exclusivly. Mostly I am
> just trying to test this out as I am not really a .NET person yet. It
> seems like it is having problems filling the dataset and with the
> datasource. Anyways in the midst of trying this, I tried bytefx with
> mysql. I didn't have any problems with like code translated.
> 
> Can anybody tell me what I am doing wrong? Or is this a bug?
[...]
> System.NullReferenceException: Object reference not set to an instance of
> an object
> in <0x0000a> System.Data.OracleClient.Oci.OciHandle:op_Implicit
> (System.Data.OracleClient.Oci.OciHandle)
> in <0x0006a> System.Data.OracleClient.Oci.OciHandle:GetAttributeSByte
> (System.Data.OracleClient.Oci.OciAttributeType,System.Data.OracleClient.Oci.OciErrorHandle)

This is a bug: http://bugzilla.ximian.com/show_bug.cgi?id=60613
You should be able to work around it by running xsp with 
mono -O=-loop xsp.exe.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better