CVI Error : After more than 2000 times connect to database.

Dear all:
After connect to the database more than 2000 times ,CVI shows below error,( I also used the DBdiscoected to  free system resources ) 
It seems out of memory, but when I checked the memory usage with resource track , memory leak is not found .
and the physical memory of PC is enough .
All of your advice is appreciated.
Tks

Hi -
I just setup an ran a simple program which connected and disconnected from a databse 2500 times without error. My program was simply a loop around DBConnect and DBDisconnect, checking for errors after each call.
Please tell us more about your system. What version of CVI are you using? Also, what is your OS? How many connections do you have open at a time?
Also, from your screenshot, I see that it mentions "Native error code -2147024882". According to this KnowledgeBase article, native error code messages mean that an error occurred in the database itself, and the code is being passed back to CVI to be handled. From a quick google search on this error code, it appears to mean "Not Enough Storage is available to complete this operation".
If you are able to condense your code into a version that we can run, which reproduces the error, you can post it and we'll take a look at it. Also, I would recommend looking more into the -2147024882 error in regard to the database that you are using.
Best Regards,
John M
National Instruments
Applications Engineer

Similar Messages

  • Not able to load pages more than 3 times continuosly

    Hi
    JDeveloper 11.1.1.6, BPM/SOA 11.1.1.6, WLS 10.3.6, Database : MS SQL Server 2008 R2
    I am not very sure if it is related to BPM or ADF, but it looks more like an ADF error..
    We have a BPM process with some human tasks. The human tasks pages are ADF pages.
    The pages / user tasks are opened properly for a few times, but does not load after that, until we close all the browser windows.
    I am getting these errors intermittently whenever I try to open a human task page in the BPM Workspace.
    (Common observation is that for the first few times the pages open properly. After more than 3+ times of opening the same task repeatedly, I a getting these 2 errors).
    The page stops rendering after the last text '<div' tag.
    Following are the 2 exceptions we see in the logs of the server.
    We are using MS Sql Server 2008 R2 for database.
    I tried with both Type 4 XA and Non XA versions of the JDBC Connections, but still getting the same error messages.
    Can anyone please let us know if we might be missing anything.
    Thanks for any help.
    Sameer
    Exceptions
    ####<Nov 1, 2013 12:32:34 PM EDT> <Info> <JDBC> <localhost> <BPM_MY_server_2> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <6e6476ca04c34712:23175e39:14213d8a6b8:-8000-0000000000025615> <1383323554494> <BEA-001128> <Connection for pool "MYDS" has been closed.>
    ####<Nov 1, 2013 12:32:34 PM EDT> <Info> <JDBC> <localhost> <BPM_MY_server_2> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <6e6476ca04c34712:23175e39:14213d8a6b8:-8000-0000000000025615> <1383323554497> <BEA-001128> <Connection for pool "MYDS" has been closed.>
    ####<Nov 1, 2013 12:38:37 PM EDT> <Info> <ServletContext-/workflow/MYProcessesUI> <localhost> <BPM_MY_server_2> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <E5OI> <> <6e6476ca04c34712:23175e39:14213d8a6b8:-8000-0000000000025eec> <1383323917256> <BEA-000000> <JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: Application pool com.dso.publicModel.applicationModule.CostReportInstanceAMLocal fails to check out an application module due to the following exception:>
    ####<Nov 1, 2013 12:38:37 PM EDT> <Error> <HTTP> <localhost> <BPM_MY_server_2> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <6e6476ca04c34712:23175e39:14213d8a6b8:-8000-0000000000025eec> <1383323917268> <BEA-101017> <[ServletContext@1068542008[app:MY module:/workflow/MYProcessesUI path:/workflow/MYProcessesUI spec-version:2.5]] Root cause of ServletException.
    java.lang.IllegalStateException: Attempt to validate an already invalid RegionSite:
                    at oracle.adf.view.rich.component.fragment.UIXRegion$RegionSiteImpl.validate(UIXRegion.java:993)
                    at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1198)
                    at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
                    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
                    at oracle.adf.view.rich.component.fragment.UIXRegion.encodeBegin(UIXRegion.java:283)
                    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:929)
                    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
                    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
                    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
                    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:542)
                    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1067)
                    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:490)
                    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:231)
                    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
                    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
                    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
                    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    And
    [2013-11-01T12:17:08.807-04:00] [BPM_MY_server_2] [NOTIFICATION] [J2EE JSP-00008] [oracle.j2ee.jsp] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: sdarbha] [ecid: 6e6476ca04c34712:23175e39:14213d8a6b8:-8000-0000000000023fb4,0] [APP: MY] unable to dispatch JSP page: The following exception occurred:.[[
    JBO-30003: Application pool com.dso.publicModel.applicationModule.CostReportInstanceAMLocal fails to check out an application module due to the following exception:
    java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_weblogic_jdbc_sqlserverbase_ddah
                    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5533)
                    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5311)

    Hi,
    depends on whether you control the BPM task flow or not. If you do, have a look at this thread for how to debug the problem
    How to debug "Attempt to validate an already invalid RegionSite"?
    Otherwise, post it to the SOA forum if this is initiated by their generated code. The most common reason though is that the task flow lacks a default activity. So if the default activity is somewhat calculated dynamically in your application then this may be a reason
    Frank

  • HT201263 Hi, I forgot the password  of my iphone4s I tried more than ten times and it lock me out with a message to connect  the iPhone with itunes on the screen but the itunes doesn't  recognise it. What can I do?

    Hi, I forgot the password  of my iphone4s I tried more than ten times and it lock me out with a message to connect  the iPhone with itunes on the screen but the itunes doesn't  recognise it. What can I do?

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
    1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    2. iOS- Forgotten passcode or device disabled after entering wrong passcode
    3. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    4. iOS- Understanding passcodes
    5. What to Do If You've Forgotten Your iPhone's Passcode
    6. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
    7. Restoring iPod touch after forgotten passcode
    8. RecBoot: Easy Way to Put iPhone into Recovery Mode - if all else fails.
    Forgotten Restrictions Passcode Help
    1. How to Recover Forgotten iPhone, iPad Restrictions Passcode
        If this method does not work, then you will need to fully Restore your
        device as New
    Also, see iTunes- Restoring iOS software.

  • ReturnEvent not get called after search more than 10 times in LOV page

    hi there,
    I using ADF and Jdeveloper 10.3.1.2
    In my project I have a form which called a LOV page for selecting multiple records and submit button sumup the values of each selected row of LOV and return to the main form and display added value on text field.
    problem is when I search records more than 10 times or more I put search criteria and select row on each time. After click on submit the value of each row is sum up return on the main form but it not reflected on main form because ReturnListener not get called .
    But when I select many rows more than 10 without searching then the ReturnListener get called when it returning on main form.
    So should I do so that ReturnListener get called.
    Is it any bug of ADF or Jedeveloper .

    Hi,
    depends on whether you control the BPM task flow or not. If you do, have a look at this thread for how to debug the problem
    How to debug "Attempt to validate an already invalid RegionSite"?
    Otherwise, post it to the SOA forum if this is initiated by their generated code. The most common reason though is that the task flow lacks a default activity. So if the default activity is somewhat calculated dynamically in your application then this may be a reason
    Frank

  • My ipad is locked after entring wrong pasword more than 10 times and i did not back up my ipad. now my device is not able be conncted with i tunes to restore or update, i need a help how can i unlock it?

    my ipad is locked after entring wrong pasword more than 10 times and i did not back up my ipad. now my device is not able be conncted with i tunes to restore or update, i need a help how can i unlock it?

    You have to restore the iPad by syncing to the original computer that you synced to.
    This article explains the process.
    http://support.apple.com/kb/ht1212

  • My ipad had been frozen my daughter put wrong pass words more than 3 times its written on the screem connect to itunes what shall i do please.

    My ipad had been frozzen my daughter puts the passwords wrong more than 3 times ,And its written on the screem connect to itunes .What shall I do please?Thank you.

    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPad.
    Instructions can be found here.
    http://support.apple.com/kb/ht1212
    You may need to restore using Recovery Mode. You can read about it here.
    http://support.apple.com/kb/ht4097
    Recovery Mode Instructions
    Disconnect the USB cable from the iPad, but leave the other end of the cable connected to your computer's USB port.
    Turn off iPad: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for iPad to turn off.
    If you cannot turn off iPad using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the iPad turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button, reconnect the USB cable to iPad. When you reconnect the USB cable, iPad should power on.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button.
    If necessary, open iTunes. You should see the recovery mode alert that iTunes has detected an iPad in recovery mode.
    Use iTunes to restore iPad.

  • Not able to save more than 2000 characters

    Databse - SQL server 2000
    I am using jdbc to save some text in sql server 2000 database. column is of type ntext.
    If text is more than 2000 character, i am getting an error.
    I tried changing the connection setting to sendstringparameterasunicode=false. After setting this property i am able to save more than 2000 characters, but i am not able to save some special characters. eg - . I am not able to save “abc” but i can save "abc". So it is not recongnizing the double quotes in the first scenario.
    Amit
    Edited by: rushtoamit on Feb 22, 2010 8:48 AM

    No idea. But it isn't a java nor jdbc (general problem.)
    Thus if you are seeing something that tells you it is too big it either comes from the driver or the database.
    So your solutions are
    1. Use a different database and driver
    2. Use a different driver
    3. Modify your code

  • More than one device connected?

    I am testing out a project for a mobile device and  when I package the apk and attempt to launch it on my phone, I get an error message sying that it can't be done because I have more than one device connected. I only have one device connected.
    I've tested this project before n my phone and it launched as it was supposed to, but I added a document class to the project and think that might be causing the problem. Previously, I added all of my action script to a keyframe on the timeline, and everything worked fine.
    I'd like some feedback as to whether or no the document class issue is the likely problem and how to get around it. If that's not the problem, I'd like to what what might be going on. As always, any help is greatly appreciated. Thanks.

    using a document class is not the problem (though your document class may be a problem if it has errors).
    use a file explorer to see if your computer lists more than 1 connected device.  or restart your computer to reset its external connections.

  • Query abort  with ora-30036 after more than 20 hours and 180g of undo

    Dear all,
    A developper transmits me a query. It fails after more than 20 hours and an undotbs of 180g (i change undo-retention, size of undo tbs, without results). That query makes a lot of inserts. How can i rewrite it to be more performant (my database is on 10.2.0.3 and i can't change it).
    here's the query :
    set serveroutput on size unlimited
    set pages 0
    set trims on
    set lines 1000
    set feed off
    set pagesize 50
    set linesize 1000
    set head off
    set echo off
    set verify off
    set feedback off
    WHENEVER SQLERROR EXIT SQL.SQLCODE
    DECLARE
    v_annee VARCHAR(4) := '2012';     
    v_dkm_id NUMBER := '108';
    v_entretien NUMBER;
    v_nb_feuilles_cr NUMBER := 0;
    v_nb_etats_cr NUMBER := 0;
    v_action_id NUMBER;
    v_rm_id NUMBER;
    v_personne_id NUMBER;
    CURSOR c_evaluation IS
         SELECT E.ID# AS E_ID, W.ID# AS WF_ID , E.NATURE_ECHELON AS ECHELON
         FROM T_EVALUATION E
         JOIN T_DKM_LOCALE L ON L.ID#=E.DKM_LOCALE_ID
         JOIN T_WORKFLOW W ON (W.CODE=E.CODE_WORKFLOW_INITIAL AND W.ANNEE=v_annee )
         WHERE L.DKM_NAT_ID=v_dkm_id;
    r_evaluation c_evaluation%ROWTYPE;
    BEGIN
    SELECT ID#
    INTO v_personne_id
    FROM T_PERSONNE
    WHERE ID_FONCTIONNEL = 'herve.collin';
    dbms_output.put_line('===== MAJ evaluations / statut_harmo_shd =============');
    dbms_output.put_line('===== Creation des feuilles ==========================');
    SELECT ID# MOTIF_ID
    INTO v_entretien
    FROM T_REF_MOTIF_TENUE_ENTRETIEN
    WHERE CODE='PLA';
    OPEN c_evaluation;
    LOOP
         FETCH c_evaluation INTO r_evaluation;
         EXIT WHEN c_evaluation%NOTFOUND;
    IF r_evaluation.ECHELON = 'T'
    THEN
    SELECT ID#
    INTO v_rm_id
    FROM T_REF_REDUCMAJO
    WHERE ANNEE = v_annee
    AND CATEGORIE_GRADE = 'ET'
    AND CODE = 'V1';
    END IF;
    IF r_evaluation.ECHELON = 'F' OR r_evaluation.ECHELON = 'V'
    THEN
    SELECT ID#
    INTO v_rm_id
    FROM T_REF_REDUCMAJO
    WHERE ANNEE = v_annee
    AND CATEGORIE_GRADE = 'FV'
    AND CODE = 'R1';
    END IF;
    UPDATE T_EVALUATION
    SET STATUT_HARMO_SHD = 'C' , REF_REDUCMAJO_PROP_SHD_ID = v_rm_id
    WHERE DKM_LOCALE_ID IN ( SELECT ID# FROM T_DKM_LOCALE WHERE DKM_NAT_ID = v_dkm_id );
    INSERT INTO T_FEUILLE(ID#, REF_MOTIF_TENUE_ENT_ID, EVALUATION_ID, WORKFLOW_ID)
    VALUES (S_FEUILLE.NEXTVAL , v_entretien , r_evaluation.E_ID, r_evaluation.WF_ID);
    v_nb_feuilles_cr := v_nb_feuilles_cr + 1;
    END LOOP;
    CLOSE c_evaluation;
    dbms_output.put_line(' -> '||v_nb_feuilles_cr||' feuilles crees');
    COMMIT;
    END;
    set serveroutput off
    exit
    What is the bester choice ? drop the indexes on the table before insert, start the insert without fetching the data in cursor ?
    nb: sorry for my bad english
    Best regards
    Catherine Andre
    @mail: [email protected]

    user4443606 wrote:
    Thanks for your reply !
    I'll try to grow the undo tbs space but i stay convinced that the problem is in the query.You can be convinced & wrong at the same time.
    row by row INSERT is slow by slow.
    It can be done as single INSERT; but that won't change the amount of UNDO that is required.

  • Cannot Get More Than 3 Wireless Connections

    Howdy, I have a Linksys WRT54G v8. I can't get more than three wireless connections established to the router at a time. Is this a known limitation of the Linksys hardware or am I experiencing a novel problem. I've changed frequencies and switched from mixed mode to G only in order to resolve the problem but these have not made a difference. Allowed number of DCHP users is set to 50. Any suggestions?

    In theory, your router can support up to 32 wireless users.  However, since the 54 Mbps bandwidth is shared, the practical limit is much lower, but should be more than 3.
    How many "4th" computers have you tried to connect?  What exactly happened when you tried to make the connection?   Did you turn off the wireless computer's software firewall before you tried to connect?   Is the wireless computer setup to "Obtain an IP address automatically"  and  "Obtain DNS server address automatically" ?  What wireless adapter(s) are in the computers?   Please give all details of computers that failed to be "number 4". 

  • BEx: Too many calculations in a formula (). No more than 2000 allowed

    Hi Experts,
    I am into this really huge BEx report with 150+ rows and 10 columns. I have written enormous amounts of formulas as well as selections inside cells. Now while generating the report in RSRT (taking the technical information) I am receiving this particular error.
    Too many calculations in a formula (). No more than 2000 allowed.
    Message no. BRAIN538
    Now my doubt is, will it be ok if i simply reduce the number of formulas being used? Or is the error message talkign about the number of variables used in all formulas together? Please suggest.
    Regards,
    Arun.

    Hi,
    The note 1394944 doesn't solve the issue, but it gives information on what actually happened. In my case the said note was already available in the BI version. The issue was that BEx allow only a maximum of 2000 variables in formulas in a query. So I had to restructure the whole query.
    Regards,
    Arun.

  • HT1725 42404 error after downloading itunes (20+ times!) can access the itunes store but can't do any downloads... itunes support has not offered any valid suggestions

    42404 error after downloading itunes (20+ times!) can access the itunes store but can't do any downloads... itunes support has not offered any valid suggestions

    This is EXACTLY what happened to me and many others. Tech support returned most of my money but not all of it. Figure that one out! It is clear no music is downloaded (or in queue), it is clear an unknown error message is produced, and it is clear we, the consumer, are still being charged anyway. Will Apple require a credit card from its customers and alienate those that do not wish to use a credit card? Will Apple insult its customers and make silly suggestions such as 'Use an iTunes gift card' in much the same way a forum moderator has already recommended?
    I have an idea: Acknowledge the problem publicly (via email, for example) and fix it in a future update. Customers will be more understanding if they know there is a temporary problem and Apple is working hard to fix it. Oh, and return our money, please!
    Windows XP Pro
      Windows XP Pro  

  • MGW: How to configure subscriber to try reconnect more than 16 time?

    In MGW we have registered a WMQ foreign queue and added a subscriber and a propagation schedule for INBOUND_PROAGATION. In general, everything seems to be working fine. We do successfully get messages from WMQ.
    However, admins restart WMQ every night. So, every morning when we come in we see this in the view MGW_SUBSCRIBERS:
    SUBSCRIBER_ID = SUB_WMQ2AQ_EFLDRTRANS
    FAILURES = 16
    LAST_ERROR_DATE = [today]
    LAST_ERROR_TIME = [around 5:20 AM]
    LAST_ERROR_MSG = MQSeries queue manager, MV17WA01, creation failed errorcode = 800
    We have found that if WMQ is restarted fast enough, before the subscriber fails 16 times, everything works fine again. Also, we have found that after 16 failures, all we have to do is reset the subscriber and everything works fine again.
    So, question: How can we configure the subscriber so that it tries to reconnect more than 16 times?
    TIA. ASD
    Edited by: user11135387 on Apr 1, 2011 5:17 AM

    hi,
    Suppose my form contains the following fields as:
    Project,Category,Start Time,End Time,Task Assigned,Task Description
    and I want to apply databank values for these fields
    Steps which i do are as follows.
    1. First of all i Configure the databank file as:
    Project,Category,Start Time,End Time,Task Assigned,Task Description
    and the values pass are :
    Orgnization Process,General,13: 00,14 : 00,test1,test2(in the first row)
    NMDGF,General,14:00,15:00,test3,test4(in the second row).
    2. After configuring the databank file i have to link with Script node. But since there are more than one fields so how i can link the csv file with script node?
    as for the single variable script node , i just substitute the value and link with the databank file its work perfectly fine and it add the folowing code in java code
    getDatabank("Timesheet Project").getNextDatabankRecord(); in the starting of run function
    3. So i have to add custom code for fetching the value for the next field? As I am not so gud in Java Code so what wil be the code to fetch the values for the next field from CSV file

  • HT1212 My little children Majd enter the wrong passcode for more than 10 times, my iPhone automatically got reset all data was deleted. I managed to retrieve the contacts only but I'm unable to retrieve my SMS's and my photos???? Can you help me please ??

    My little children Majd entered the wrong passcode for more than 10 times, my iPhone automatically got reset all data was deleted. I managed to retrieve the contacts only but I'm unable to retrieve my SMS's and my photos???? Can you help me please ???

    Hi,
    Did you ever back up your phone on the computer?
    Did you use photo stream at all?
    May I suggest changing your passcode lock to a letters and numbers lock (if not all ready it will make your iphone more secure and a restore lock otion shouldent be needed). Then change your setting as well preventing restore after ten incorect passwords.
    kc

  • Cannot complete a paid for down load - says I've done it more than 5 times but non succesfully

    Cannot complete a paid for down load - says I've done it more than 5 times but non successfully. Can anyone assist ?

    Please share a screen of the error message and also let us know what exactly are you trying to download so that we can help you quicker.

Maybe you are looking for

  • DVX and the Squeeze Mode in FCP

    Good morning, I recently experimented with the Squeeze mode on my DVX100b. I shot in 24pA and captured to FCP using the advanced pull down setup. The clip was recognized as anamorphic (judging by the checked box in the Anamorphic column of the browse

  • TS3276 Mail import just stops after about 180 - 250 Mails! What's wrong?

    I just bought a new Macbook and used Migration Assistant to get all my files from my old to my new one. Now, when I open Mail it tells me that it needs to import my e-mails (which is good, I want it to do that). I know that all my mails are on my com

  • Retail Tiger 10.4.6 Disk not recognized

    Powerbook G4. Have all the requirements. Brand new out of the box OS X Tiger Disk. Every time I put the disk into my disk drive all I hear is whirring and spinning. This happens for about 1 minute or more and then the disk ejects. No installer appear

  • WebI report - Report filters question

    All, please help me in understanding if it's possible to have a report filter containing all the possibile values for the dimension it refers to, so that changing the value in this filter, the query is refreshed and shows data according to the new se

  • Monitoring the status of a socket...

    I'm using ServerSocket and Socket in a simple client/server model. The situation is unique in that there is only ever one client - ever. That is, the server starts up and listens for the client to connect, once connected the client and server communi