Oracle Connection object is not getting instantiated

We have a Web application developed in .net (code behind vb.net) using Visual Studio 2003 and Oracle Database 10G version 10.1.0.2. We have a test machine which we use to test our Web application with the same version of oracle. Our web application was working fine in that test machine until Oracle got corrupted in the that machine. After that I reinstalled Oracle 10G and when I tried to run the web application it threw an exception saying "Object Reference Not set to instance of an Object". When I went into that problem a bit deeper , I came to know that Oracle Connection Object was not getting instantiated (ie OracleConnection object=nothing). At the same time the web application is working fine in my machine. One of my friend suggested me that I have to register some of the Oracle DLL files using regsvr32 utility. But he is not sure which DLL to be registered. Also we do have a Windows Application developed in .net using the same VS2003 and oracle 10 G which is running fine in the same test machine.

Thanks for the reply. I was desperately waiting for that.
I found the following result when I run the gacutil utility on my machine.
The Global Assembly Cache contains the following assemblies:
Oracle.DataAccess,version=10.2.0.100, Culture=nuetral, PublicKeyToken=89b483f429c47342, Custom=null
The cache of ngen files contains the following entries:
Number of items = 1
But when I used the same utility on the test machine it resulted as follows
The Global Assembly Cache contains the following assemblies:
Oracle.DataAccess,version=10.1.0.200, Culture=nuetral, PublicKeyToken=89b483f429c47342, Custom=null
The cache of ngen files contains the following entries:
Number of items = 1
That is there was change in the version of ODP.net what I use in my machine and Test Machine. But I clearly remember that I have installed Data Access layer DLL's of the web project from my machine to the test machine and were running successfully befor eoracle got re installed on that test machine.

Similar Messages

  • An error occured while opening the connection: Object reference not set to

    After I uninstalled Oracle Developer Tools for Visual Studio .NET 10.1.0.4 and installed Oracle Developer Tools for Visual Studio .NET with Oracle10g Release 2 ODAC 10.2.0.2.21 I got the error message below when I want to connect to my 10g database using Oracle Explorer.
    Error:
    An error occured while opening the connection: Object reference not set to an instance of an object
    I use OracleConnection to open also cannot be done. But I use Oracle SQL Developer I can connect to orcl that I cannot connect using ODAC 10.2.0.2.21 in my laptop.
    Please help me.
    Ming Man

    Sorry my mistake, I double checked, the one I uninstalled is ODAC 10.2.0.2.20 and not ODAC 10.1.0.4.
    But I have that error.
    Ming Man

  • While updating my iphone software it got intruppted and now showing connect to itune not getting restored

    while updating my iphone software it got intruppted and now showing connect to itune not getting restored please help

    Try doing a hard reset on the phone;
    1. Hold Home and Sleep/Wake buttons at the same time;
    2. Wait for the Apple logo to appear (ignore the slide to Power Off option)
    3. Let go of the buttons when you see Apple on the screen
    4. Allow iPhone to reboot;
    If you are still unable to get the phone to power on, charge, or connect to iTunes; it could possibly require service. (hardware replacement)

  • My new 7th gen NANO cannot be connected on either my Windows 7 or VISTA PCs. I have updated to ensure I have the latest iTunes version. When connecting I did not get the setup screens but the NANO assumed the identity of an older IPod. I have reset

    I am having problems setting up a new 7th gen IPod NAN or both my Windows 7 and Windows Vista PCs. When first connecting I did not get the setup screens and cannot sync existing media. The NANO assumed the name of a previously installed IPod touch and resetting does not clear this name. I have tried uninstalling and reinstalling iTunes.updating driver software and resetting the NANO without any success

    Purchased as new at Best Buy. As far as I know it was noever formatted prior to my purchase

  • Model object is not getting executed

    hi,
       I have created a model and iam getting values from back end using RFC.The values are not retrieved in front end and found that my model object is not getting executed.how to rectify this problem.please help me out.
                                                                                    regards
                                                                                    Sharanya.R

    Hi,
    Please psot your code for analysing, and also check whether it conforms to following coding:
    // Create a new instance of the Bapi_Flight_Getlist_Input model object
    bapiInput =Bapi_Flight_Getlist_Input();
    // Create the structured input parameters required for this RFM
    Bapisfldst destTo = new Bapisfldst();
    Bapi_Flight_Getlist_Input bapiInput;
    Bapisfldst destFrom = new Bapisfldst();
    // Add the DESTINATION_TO and DESTINATION_FROM parameter objects to the
    // model object representing the input side of the BAPI interface
    bapiInput.setDestination_To(destTo);
    bapiInput.setDestination_From(destFrom);
    // Bind the model object instance to context model node
    wdContext.nodeBapi_Flight_Getlist_Input().bind(bapiInput);
    bapiInput.execute();
    // If the execution is successful, then invalidate
    // the corresponding output node
    wdContext.nodeOutput().invalidate();

  • Since one week my iphone, after synchronisation, gives me error message 13 objects could not get synchronized, look in itunes for more information. however, I dont find any info there

    since one week my iphone, after synchronisation, gives me error message "13 objects could not get synchronized, look in itunes for more information." however, I dont find any info there, neither on the mac I synch with nor on the iphone

    Launch Disk Utility in /Utilities. Then, click on the volumes under the top-level disk. The one that has this listed on the bottom is the boot volume.

  • Object instance not getting created

    Hi all,
    I have created a report using local classes entirely,
    I created the object reference and instantiating it in INITIALIZATION event then i'm using one method of the class in AT SELECTION-SCREEN ON event.
    now everything is fine except that in some rare cases a a short dump is coming that object is not assigned, this is happening for the same test case also.
    Now can there be any case that INITIALIZATION doesnot get executed and directly AT SELECTION-SCREEN is called?
    this is happening entirely randomly.
    кu03B1ятu03B9к

    well here's the dump analysis, you might be interested to look at it, might be there's something i'm missing
    INITIALIZATION.
    *  Too add movement types 101 & 261 as default movement types
      l_wa_bwart-sign = c_i.    "I
      l_wa_bwart-option = c_eq. "EQ
      l_wa_bwart-low = c_101.   "101
      APPEND l_wa_bwart TO s_bwart.
      l_wa_bwart-low = c_261.   "261
      APPEND l_wa_bwart TO s_bwart.
    *  Instance Creation
      CREATE OBJECT: o_validate.
         IF sy-subrc IS NOT INITIAL.
           MESSAGE e999.
         ENDIF.
    * Instance Creation
      CREATE OBJECT: o_alv.
        IF sy-subrc IS NOT INITIAL.
          MESSAGE e999.
        ENDIF.
    *    SELECTION SCREEN VALIDATIONS
    AT SELECTION-SCREEN ON s_plant.
      "To validate plant and check authorisation
      CALL METHOD o_validate->validate_p_plant." <---Dump at this statement
    AT SELECTION-SCREEN ON s_matnr.
    "To validate material
      CALL METHOD o_validate->validate_p_matnr.
    AT SELECTION-SCREEN ON s_bwart.
    "To validate movement type
      CALL METHOD o_validate->validate_s_bwart.
    Runtime Error          OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL
    What happened?
        Error in ABAP application program.
        The current ABAP program "/FIR/RRF2S_A042_001" had to be terminated because one
         of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        An exception occurred. This exception is dealt with in more detail below
        . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was
         neither
        caught nor passed along using a RAISING clause, in the procedure
         "%_SEL_SCREEN_S_PLANT" "(FORM)"
        Since the caller of the procedure could not have expected this exception
         to occur, the running program was terminated.
        The reason for the exception is:
        Attempt to access a component using 'NULL' object reference (points
        to nothing).
        An object reference must point to an object (an instance of a class)
        before you can use it to access components (variable: "O_VALIDATE").
        Either the reference has not yet been set, or it has been reset to
        'NULL' by a CLEAR statement.
    I'm not sure where to move this create object statement.
    Edited by: Kartik Tarla on Oct 20, 2009 1:07 PM

  • Events in USER objects type not getting triggered in PFCG

    Hi,
    We need to send some notifications to the concern person at the time of assiging roles to the user . There is an object type USER and has events like created,cloned, deleted, roles_changed. But these events not getting triggered.
    I need to trigger the workflow. How do we activate the events as the entry doesnot exits in SWE2 tooo . Is ther any other way?

    HI munish
    If the entry is not in swe2 Put the entry for the business object USER and use the receiver type as your workflow number.
    Regards
    vijay

  • Planning Object Structure not getting saved.

    HI,
    I had deactivated the PA and then the POS. I had included a new chara and then when I try to save, it gives the following message.
    Planning object structure ABCD not saved
    Message no. /SAPAPO/TSM173
    I had done the same steps for other POS and it had worked correctly. but for this getting a strange error.
    Can someone help me out in this....
    Thanks
    Aswath.

    Thanks Datta for the reply.
    When I run the cons. check for the POS after adding the new Chara. it says " No error".
    We are using the consumption groups and i am not sure if that could create any issue, these are the steps I follow.
    Deleted transaction data. - BM, BR FC, FA,
    changed or deleted the Consumption group.
    deleted the time series for PA.
    Deactivated the POS.
    After adding this new chara. its not getting saved.
    But when I come out, without adding any chara. and right click,  activate & POS gets activated.
    I had gone and checked the Chara consistency in the cube. there also it says no error....
    Thanks
    Aswath.

  • Oracle Materialized view tables not getting refreshed automatically.

    At Destination:--
    CREATE MATERIALIZED VIEW PROG_MEDIA
    TABLESPACE ONA_TS1
    BUILD IMMEDIATE
    REFRESH FAST with rowid
    START WITH SYSDATE
    NEXT SYSDATE+1/96
    AS (select /*+ PARALLEL(a,6) */ * from PROG_MEDIA@onair a);
    exec dbms_mview.refresh('PROG_MEDIA','C');
    At Source:--
    CREATE MATERIALIZED VIEW LOG ON ONAIR.PROG_MEDIA
    TABLESPACE MVLOG
    WITH ROWID;
    Fired manually:--
    13:00:43 SQL> exec dbms_mview.refresh('PROG_MEDIA','C');
    PL/SQL procedure successfully completed.
    At source:--
    13:18:35 SQL> select PROG_MEDIA_ID,PROG_MEDIA_NAME from PROG_MEDIA where PROG_MEDIA_ID='102226';
    PROG_MEDIA_ID
    PROG_MEDIA_NAME
    102226
    test
    At Destination:--
    14:03:28 SQL> select PROG_MEDIA_ID,PROG_MEDIA_NAME from PROG_MEDIA where PROG_MEDIA_ID='102226';
    PROG_MEDIA_ID PROG_MEDIA_NAME
    102226 UTSAV-5-162077
    JOB LOG_USER THIS_DATE LAST_DATE_TIME NEXT_DATE_TIME INTERVAL FAILURES WHAT
    242 ONAIR 17-05-11 14:17:24 SYSDATE+1/96 7 dbms_refresh.refresh('"ONAIR"."PROG_MEDI
    A"');
    242 ONAIR 17-05-11 14:32:25 SYSDATE+1/96 8 dbms_refresh.refresh('"ONAIR"."PROG_MEDI
    A"');
    1> I have scheduled this refresh job for every 15mins, but its not getting executed. Also my job_queue_process is '20'. Whenever i execute it manually it get's refresh.
    2> I can schedule a cron for the same for every 15mins but i really dont want to do it.
    Kindly help me out.

    Hi,
    I have created MV_CAPABILITIES_TABLE & executed below commands:--
    17:56:54 SQL> EXECUTE DBMS_MVIEW.EXPLAIN_MVIEW ('"ONAIR"."PROG_MEDIA"');
    PL/SQL procedure successfully completed.
    17:57:26 SQL> SELECT capability_name, possible, SUBSTR(related_text,1,8)
    17:57:27 2 AS rel_text, SUBSTR(msgtxt,1,60) AS msgtxt
    17:57:27 3 FROM MV_CAPABILITIES_TABLE
    17:57:27 4 ORDER BY seq;
    CAPABILITY_NAME P REL_TEXT MSGTXT
    PCT N
    PCT N
    REFRESH_COMPLETE Y
    REFRESH_COMPLETE Y
    REFRESH_FAST Y
    REFRESH_FAST Y
    REWRITE N
    REWRITE N
    PCT_TABLE N PROG_MED relation is not a partitioned table
    PCT_TABLE N PROG_MED relation is not a partitioned table
    REFRESH_FAST_AFTER_INSERT Y
    REFRESH_FAST_AFTER_INSERT Y
    REFRESH_FAST_AFTER_ONETAB_DML Y
    REFRESH_FAST_AFTER_ONETAB_DML Y
    REFRESH_FAST_AFTER_ANY_DML Y
    REFRESH_FAST_AFTER_ANY_DML Y
    REFRESH_FAST_PCT N PCT is not possible on any of the detail tables in the mater
    REFRESH_FAST_PCT N PCT is not possible on any of the detail tables in the mater
    REWRITE_FULL_TEXT_MATCH N PROG_MED mv references a remote table or view in the FROM list
    REWRITE_FULL_TEXT_MATCH N PROG_MED mv references a remote table or view in the FROM list
    REWRITE_FULL_TEXT_MATCH N query rewrite is disabled on the materialized view
    REWRITE_FULL_TEXT_MATCH N query rewrite is disabled on the materialized view
    REWRITE_PARTIAL_TEXT_MATCH N materialized view cannot support any type of query rewrite
    REWRITE_PARTIAL_TEXT_MATCH N materialized view cannot support any type of query rewrite
    REWRITE_PARTIAL_TEXT_MATCH N query rewrite is disabled on the materialized view
    REWRITE_PARTIAL_TEXT_MATCH N query rewrite is disabled on the materialized view
    REWRITE_GENERAL N materialized view cannot support any type of query rewrite
    REWRITE_GENERAL N materialized view cannot support any type of query rewrite
    REWRITE_GENERAL N query rewrite is disabled on the materialized view
    REWRITE_GENERAL N query rewrite is disabled on the materialized view
    REWRITE_PCT N general rewrite is not possible or PCT is not possible on an
    REWRITE_PCT N general rewrite is not possible or PCT is not possible on an
    PCT_TABLE_REWRITE N PROG_MED relation is not a partitioned table
    PCT_TABLE_REWRITE N PROG_MED relation is not a partitioned table
    34 rows selected.
    Elapsed: 00:00:00.09
    What to be done next?
    Also i fired the job manually by:--
    17:38:02 SQL> set serveroutput on
    17:39:45 SQL> EXEC DBMS_JOB.RUN(242);
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.48

  • Oracle R12 EBS Forms not getting invoked in Windows server 2003

    Hi,
    I have installed Oracle EBS R12 in my personal laptop with Win2003 server as base OS. Until all these days I was able to launch the forms and work on EBS without any issues.
    Today when I tried to login in and open a form, the system is just not responding. It is not launching the form applet. I checked the Java options and everything remain correct. My internet explorer settings are also proper and no firewall is existing. JRE version installed is 1.6.0_07. I even tried invoking test form from Oracle Forms options, but no form was launched.
    The same issue happened a month before and I ended up installing Oracle again. However, I dont want to go to that option and requesting your valuable help to get this fixed.
    Java console log is as mentioned below. Kindly check and help me getting this issue fixed.
    Header 1
    Java Plug-in 1.6.0_07
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading proxy configuration from Internet Explorer ...
    network: Done.
    network: Loading direct proxy configuration ...
    network: Done.
    network: Proxy Configuration: No proxy
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL

    Asif,
    Finally I got the issue fixed. Did not download Java or any JRE version; because, the available version itself was Java 6 and the JRE version was 1.6.0_07.
    The issue seems to be that, if the 'JRE Auto-Download' in Java control panel is set to 'Always Auto-Download' then java is trying to use the latest version available in their server. I then changed the setting to point to 'Prompt User' and tried opening a form and it worked!!!
    Sounds like a solution to this issue and hope it doesn't recur. Will keep posted if I face any. Thanks for your help!
    Navigation:
    DO NOT TRY TO CLEANUP OR RE-INSTALL JAVA. TRY THE BELOW BEFORE YOU PERFORM SUCH THINGS.
    Step1: Clear all cache and cleanup the history/temp memory in your browsers.
    Step2: Close all your browsers (IE, Netscape, Chrome, Mozilla etc).
    Step3: Check if your Java version is SE6 and JRE is pointing to version 1.6. You can check this in Java control panel -> General and Java tab respectively.
    Step3: Control Panel --> Java (DClick) --> Go to Advanced tab --> expand "JNLP File/MIME Association" and "JRE Auto-Download" --> Select "Prompt User" in both and "Apply"
               In addition to this have the "Debugging" option enabled and "Show console" in the same tab.
    Step4: Open IE and login to Oracle Apps. Click on any form. now Java will enable and you will be able to see the console messages. In a few moments(depending on your system speed), the forms should be displayed.
    If this doesn't fix the issue, then copy paste the entire console message and post a question in this forum for help. Enjoy your EBS!!

  • String Object info not getting displayed in outgoing referrences .

    Hi,
    Iam new to MAT and is in learning stage.
    Iam having a sample java program , whch has got String objects printed contunously . In order to take the heap dump while running itself , I am running this application for 2 minutes and in between Im taking the heap dump , but when analysed my java class , found that there is no entry for String objects under outgoing referrences of the java class from histogram.
    Please help me to find out why String object details are not present in outgoiing referrences for the java class.
    My Java Program,
    public class B{
    public static void main(String[] args) {
              //create Calendar instance
             Calendar now = Calendar.getInstance();
             System.out.println("Current time : "+ now.get(Calendar.HOUR_OF_DAY)+ ":" + now.get(Calendar.MINUTE)+ ":"+ now.get(Calendar.SECOND));
             int m = now.get(Calendar.MINUTE);
             B b = new B();
             b.print();
    public void print( int m2, Calendar now2){
               while ( (m2+2) >= now2.get(Calendar.MINUTE)){
                       String x = "xxxxxx";
                        System.out.println("String"+x);

    Hi,
    Do you mean this String object?
       String x = "xxxxxx";
    If so, then here the explanation. The String above is declared as a loca variable in the print method. I can't see any field pointing to it (neider an object insance is pointing to it, nor a static reference from the class).
    This local object will be in the heap as long as the method is running, and in the heap dump you will see such objects marked as GC roots. The type of this GC root will be <Java local> .
    Depending on the heap dump format, there may be also stack traces inside. If there are stack traces, you shold be able to see your object as referenced from the corresponding frame (the print method) in the Thread Stacks query.
    I hope this helps.
    Krum

  • Cisco Unity Connection 8.6 not getting CLID information from CUCM 8.6

    Hello,
    Currently Running:
    Cisco Unified Communications Manager 8.6.2
    Cisco Unity Connection 8.6.2
    Problem:
    when any outside caller leaves a voicemail, the caller number information is not being sent to unity.
    example, I call with my cell phone, 817.555.1234 to my Cisco 7940 phone and it shows the CLID information that i am calling with. iDivert to voice mail, Leave a message. Playback message and just the default message information from Cisco Unity.
    we currently upgraded from CUCM 6.1.3 and Unity 5. before i could press 9 and get the caller information.
    I have viewed the "Playback Message Settings" and selected "After Playing Each Message, Play" and selected Sender's Information. and also selected "Include Extension and Sender's ANI"
    upon playing the VoiceMail after the message i get the default message "From Cisco Unity Connection Messaging System"
    I also have the message relaying to my E-mail and I get the same in the subject line.
    "Message from Cisco Unity Connection Messaging System (Unknown extension)"
    This tends to be a big deal with the Sales team as customers will call and say "Call me back"
    But any Internal Calls show the correct information, proper greeting, extension information even on the relay to e-mail.
    Any help will be appreciated.
    Thanks
    Tim

    Found another post that referenced Cisco Bug ID CSCti37610.
    CUC plays message is from Unity Connection Messaging system
    Symptom:Before message playback, Unity Connection plays the message is from Unity Connection Messaging System instead sender's ANI
    Conditions:Problem was observed on Unity Connection cluster and appropriate services are not rebooted after changing the SMTP domain name
    Workaround:
    Restart the Unity Connection servers
    It should have been fixed in 8.5 but we did change the SMTP domain name on 8.6 and now see the problem. Will schedule a reboot and see if the issue goes away.

  • Oracle XE service does not get installed

    Hi,
    2 days ago downloaded Oracle 10 g Express Edition and installed on my computer. It installed succesfully and gave no erros. But when I tried to go to the homepage it failed to open. Then I check the services.msc and found that OracleXEService was not there. Then I uninstalled it and installed 11g XE Release2. But again the same problem. What's wrong with this? Does the OracleXE setup install both client and server side?

    Well, there must be something going wrong on your system, and there should be some clue either in the installation process itself, or in the log files.
    On my system, there are five logs in the directory named above:
    cloneDBCreation.log
    CloneRmanRestore.log
    postDBCreation.log
    postScripts.log
    XE.bat.log
    Do you have any of these? If not, you could try a silent installation as documented in the [url http://download.oracle.com/docs/cd/E17781_01/install.112/e18803/toc.htm#BABBCGHA]Installation Guide. That way you'll definetly get a log file for the installation. There is also a silent mode for a repair installation. Perhaps you could try that as well.
    -Udo

  • Oracle BAM : Tabs are not getting displayed

    Hi
    Just started working in Oracle BAM. I opened exisiting reports that came with the installation. Now when I click on Edit View -> "Data" button in the "View" Editor of an existing report ; the following tabs shld be displayed as per the BAM user guide : DataObjects, Fields, Filter, Drilling ...etc .
    But none of the tabs are comming in the browser. In fact 7 empty tabs are dispalyed and are disabled.
    When I click on "Properties" in the "View" editor ; all the tabs are comming and I can click on the tabs and edit the properties. But the tabs under "Data" option is not working.
    I have deployed SOA suite 11.1.1.3 on wls 10.1.3. I am using IE 7. Any pointers will be helpful!!
    Thanks

    This link solved the problem for me.
    REQD for Fresh BAM Install 11.1.1.3.0 -Data labels missing issue

Maybe you are looking for

  • How do i change the name of my songs on itunes?

    How do i change song names on itunes? it says " 1 Select the information you want to change.  2 Type the new information. 3 Press enter.   this does nothing.

  • Can 'GUI_UPLOAD'  to be used to upload excel file lonely?

    Hi experts, I wonder that can 'GUI_UPLOAD'  to be used to upload excel file lonely. I tried and use 'asc' as the L_FILETYPE, but the data uploaded contain many '###yyy'. But if I save the excel file as a txt file, the data can be uploaded by 'GUI_UPL

  • How to search for a file?

    Hi I am currently using the below code to detect a file automaticaly in a thumbdrive. So currently I have to state the path directory to detect the particular file. Is there a way to search for the file in the thumbdrive using Java? public class Dete

  • Display Financial Statement (S_ALR_87012284) in document currency amount

    I would like to display financial statement in document currency amount. (T-CD:S_ALR_87012284) Does anyone know how to do this? I don't want to use the special evaluation tab of that T-CD, as it is requested to specify rate and Key date for translati

  • Problem about custom preloader in Flex 1.5

    I read the article written by Eric Anderson and test his sample.But i met some problems. the codes is on http://weblogs.macromedia.com/eanderson/archives/2004/12/preloader_in_fl.cfm I can only see the "Loading Your Application View . . . ", but can n