OracleDataAdapter Help

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jairo Nieto (jairo_at_axesnet.com)
Date: 09/15/04


Date: Wed, 15 Sep 2004 10:44:23 -0500

Hi, I had developed 2 solutions with Oracle 9i as my database, using
OracleDataAdapter to connect and invoke stored procedures (packages). It
worked fine, until i had to create a console application that queried the
database. I started getting object reference not set to an instance of an
object, until I gave both the OracleDataAdapter.dll and the .exe console app
full trust in the framework configuration. The console app works fine now,
but my 2 previous solutions now throw Object reference not set to an
instance of an Object, in every page I used a DataAdapter or a
DataReader.The exception is thrown on the Fill method of the DataAdapter.
What could have happened???

Thanks a ton,
Jairo Nieto
MCAD



Relevant Pages

  • Object reference not set to an instance of an object.
    ... Object reference not set to an instance of an object. ... An unhandled exception occurred during the execution of the ... Dim myJobRequest As New skillsDB.jobRequest ... Session= "The skills database has been updated ...
    (microsoft.public.dotnet.general)
  • Re: "Dynamic" form -- how to?
    ... I want to populate ddGender with data from the database, ... Result: " System.NullReferenceException: Object reference not set to an ... I'm guessing that I need to loop through the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Change ImageButton visible property in code dynamically
    ... In the ItemDataBound event handler check the viability of the database ... > Dim row As DataRow ... > Not suprisingly I am getting the error "Object reference not set to an ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Creating tables
    ... > How can i create a table in a database from netcobol. ... COBOL compiler (like NetCOBOL), you can certainly create tables "on the ... 01 OBJ-DAOCONNECTION OBJECT REFERENCE COM. ... 01 connection-flag pic x value '1'. ...
    (comp.lang.cobol)
  • Re: Activate a template file
    ... Dim Wkbk as workbook ... (I've never worked with the Oracle stuff, ... I also tried setting an object reference to the file on open, ... is an Oracle ADI template file and certain codes run in the background to ...
    (microsoft.public.excel.programming)