System.Data - Crash during DataTable.Load

Hello
I encountered a (random) crash of my executable during a DataTable.Load when i do a "select" request with a big CLOB (> 24000 characters).
I have coded a test and the error happen after 5 or 6 execution. I find a way to correct the problem by adding a Thread.Sleep after the DataTable.Load.
But it's clearly not a solution
DataTable myTable = new DataTable();
        myTable.Load(myReader);
=> This code crash
DataTable myTable = new DataTable();
        myTable.Load(myReader);
        Thread.Sleep(1000);
=> this code work
I have the same problem with a myReader.GetValue() and a myReader.GetString()
If someone could provide an explanation...
Thanks
My configuration : 
Oracle driver : OraOleDb v11.1.0.6
My assembly if compiled on Framework 4.0 x86
Here is the detail of the exception : 
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at System.Data.Common.UnsafeNativeMethods+IRowset.GetData(IntPtr, IntPtr, IntPtr)
   at System.Data.OleDb.OleDbDataReader.GetRowDataFromHandle()
   at System.Data.OleDb.OleDbDataReader.GetValueBinding(System.Data.OleDb.MetaData)
   at System.Data.OleDb.OleDbDataReader.GetValues(System.Object[])
   at System.Data.ProviderBase.DataReaderContainer+CommonLanguageSubsetDataReader.GetValues(System.Object[])
   at System.Data.ProviderBase.SchemaMapping.LoadDataRow()
   at System.Data.Common.DataAdapter.FillLoadDataRow(System.Data.ProviderBase.SchemaMapping)
   at System.Data.Common.DataAdapter.FillFromReader(System.Data.DataSet, System.Data.DataTable, System.String, System.Data.ProviderBase.DataReaderContainer, Int32, Int32, System.Data.DataColumn, System.Object)
   at System.Data.Common.DataAdapter.Fill(System.Data.DataTable[], System.Data.IDataReader, Int32, Int32)
   at System.Data.Common.LoadAdapter.FillFromReader(System.Data.DataTable[], System.Data.IDataReader, Int32, Int32)
   at System.Data.DataTable.Load(System.Data.IDataReader, System.Data.LoadOption, System.Data.FillErrorEventHandler)
   at eWorkflow.Dal.Dal.DalBase.ExecuteReader(System.String)

Hi,
Sorry so late to answer your question.
Per my understanding, you have load a large of data,and don't have enough memory.
But form the exception Info: System.AccessViolationException
It seems as joel said, maybe some others attempt to read/write the same data. Please exclude these
factors and try again.  Good Luck!Best wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Flash Builder 4.5.1 for Mac hanging/crashing during startup "Loading Workbench"

    Hello,
    I'm having ongoing trouble with Flash Builder 4.5.1 hanging/crashing during startup.
    Sometimes the following Terminal command fixes the issue:
    cd ~/Documents/Adobe\ Flash\ Builder\ 4.5/cascaded/308971/configuration/.settings
    rm org.eclipse.ui.ide.prefs
    However this isn't a silver bullet solution, and sometimes the only way is to uninstall and reinstall FB4.5.
    But this is a major hassle, especially after 3 or 4 times!
    I am running Mac OS X 10.7 and have updated to FB 4.5.1 Premium and also installed Subversion/Subclipse as well as the BlackBerry PlayBook SDK.
    Problems seem to occur when working in SVN projects.
    I have also noticed that the Delete and Arrow keys and Right Click fails to work sometimes also.
    Is there a way to reset / clear FB 4.5 Prefs / Workbench?
    Thanks,
    David Douglas
    Here is the console report below:
    /Applications/Adobe/Adobe\ Flash\ Builder\ 4.5/Adobe\ Flash\ Builder\ 4.5.app/Contents/MacOS/Adobe\ Flash\ Builder\ 4.5 ; exit;
    !SESSION 2011-09-13 15:07:58.914 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_26
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
    Framework arguments:  -keyring /Users/david/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring /Users/david/.eclipse_keyring -consoleLog -showlocation
    !ENTRY org.eclipse.core.resources 2 10035 2011-09-13 15:08:02.101
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.ui 2 0 2011-09-13 15:08:02.905
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-09-13 15:08:02.906
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'

    Delete the Adobe Flash Builder 4.5 folder from your Documents (assuming you don't have anything valuable in there). That seemed to work for me, as I don't keep my projects in there but there were some temp files that were breaking it. You'll probably have to re-inport your projects.
    Adobe, I'm getting very sick of your (expensive) products wasting my time.

  • Logic Crashes During AU Load/Opening Suddenly

    Most of my projects I've been un-able to open the past week. All updates installed. Tried re-installing Logic back to 9.0.....nothing. It locks and gives a report (see Divshare link below for text file)  at either "compressor" or "EQ". So my guess it may not be aftermarket plugins causing the crash. If anyone can help get my system back on track without complete system re-installation I'd be greatly appreciative.
    http://www.divshare.com/download/15170690-762
    Process:         Logic Pro [1945]
    Path:            /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
    Identifier:      com.apple.logic.pro
    Version:         9.1.4 (1700.2)
    Build Info:      Logic-17000200~2
    Code Type:       X86 (Native)
    Parent Process:  launchd [105]
    Date/Time:       2011-06-24 18:51:39.585 -0600
    OS Version:      Mac OS X 10.6.7 (10J869)
    Report Version:  6
    Interval Since Last Report:          11408 sec
    Crashes Since Last Report:           12
    Per-App Interval Since Last Report:  2039 sec
    Per-App Crashes Since Last Report:   9
    Anonymous UUID:                      4604D211-681B-4477-A853-CA9079139438
    Exception Type:  EXC_BAD_ACCESS (SIGABRT)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000044
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    abort() called

    Anything?

  • How to know Memeber or Data rejected during cube load?

    Hi,
    i am triggering the .CBS file from the DOS batch file. After that i wan to check wether some members and Data are rejected or not. Can you pls help?
    Regards
    Shakti

    using a cbs file means you are using EIS to generate your cube. It is not real easy to investigte the logs for it. On the EIS server is a logs directory that creates a datetime folder for every load instance. within thet folder are any error logs. (metadata and/or data load). If there are no errors there are no files. Sometimes with no errors, the folder does not get created, but 'I've seen other times when it does. I guess you could delete all of the folders in the directory and if ther is one, pull the files out of it using a bat file.

  • Hiding Data References During Page Load

    http://labs.adobe.com/technologies/spry/samples/data_region/HideDataReferencesSample.html
    gives an example of hiding a data until the page is finished
    loading, but it fails to show the example code.
    I'm not sure how to use spry:content to hide the red X from a
    large image while the page is loading.

    Hi Phillip,
    To hide the data references, you use the .SpryHiddenRegion
    class on your spry:regions.
    The spry:content works because there is no source code within
    that block, so nothing shows onLoad.
    <span spry:content="{name}"></span>
    The <img> is within the value of {name}.
    Show us the code that is not working for you.
    Thanks,
    Don

  • MSI x99 Gaming 7 Crashing during Windows UEFI Boot

    Hello everyone,
    I'm dealing with a strange problem here and i cannot seem to find any solution. Yesterday i updated my m/b bios from H.8 to H.9 and everything worked fine but 30 minutes later during some regular windows and drivers updates i restarted the machine only to find it crashing during windows loading logo when booting. I initially thought to be something about the new bios update (or windows/drivers updates) so i switched to the back-up bios ,updated it to H.8 (which i was using before) and did a quick format but the problem still occurs.
    I pinpointed the problem to be something in the bios (bios update resets settings to defaults both when i updated to H.9 for the main bios & H.8 for the backup bios) and the UEFI settings for windows 8.1 since  it doesn't occur when i disable the "Windows 8/8.1 Feature". What exactly does this feature do? The only difference i saw was the loading logo , now i see MSI red/black picture with the small circle-dots loading instead of a Black screen with white MSI logo if i enable the feature.
    My system is new (three months old) and i never had any crash or lock-up anywhere (nor it is overclocked). All settings in the bios are default except the "Boot Mode Select" is UEFI and the "MSI Fast boot" is enabled. Windows 8.1 64Bit are installed in UEFI mode.
    -MSI X99 Gaming 7
    -Intel I7 5820k + Corsair H110
    -G.Skill Ripjaws DDR4 16GB
    -Gigabyte 970 G1 Gaming SLI
    -Samsung 850 Pro 256GB
    -EVGA SuperNOVA 1000 G2

    Ok ,seem to have some updates:
    First of all i was wrong about the SATA ports i was using (my second GPU blocks the view of the ports).
    - SSD was connected to SATA3 while the other two HDD's to SATA10 & 9
    I first disabled Samsung RAPID mode (you never know). Then i changed the SSD from SATA3 to SATA1 port and didn't connected the other 2HDD's at all. Enabled the "Windwos 8/8.1 feature" & Secure Boot and quickly did 4-5 restarts from the bios and from Windows, even a cold boot. No crashes but i need to do more reboots to make sure it doesn't occur any more. Then i will connect the other two HDD's and check for crashes.
    Update#1 . Ok my other two HDD's are connected to SATA ports 3 & 4. After 3-4 restarts & 2 cold boots everything seems fine , no crashes at all. I don't know if maybe after 10 restarts it will occur but i'm confident enough that it should already be present now. So it seems that either Samsung Rapid Mode is responsible or the other SATA ports.
    Update#2 . So Samsung Rapid Mode seems to work fine, again no crashes at all. This is getting really weird. So that leaves me with the Sata ports ,now i don't know if i need to change again sata ports to recreate the problem or leave it as it is (working) but then again if it's indeed the SATA ports then maybe something is  faulty. Either way i'll check it.  :/
    Update#3 . I think i came to a conclusion. SATA ports 7-10 seem to have the problem.
    - I reconnected everything to the original ports i was using (SSD to SATA3 and 2xHDD's to SATA10 & 9) .The crash happens the second time i restart the PC.
    - Moved SSD to SATA1 , crash happens again at the second boot.
    - Moved the 2xHDD's to SATA 7&8 ,crash happens at first boot.
    - Moved the 2xHDD's to SATA 3&4 . NO Crash occurs.
    I have no idea what's going on, the manual states that SATA 7-10 support only IDE mode and AHCI (SATA 1-6 supports RAID 0,1,5,10). For the record i do not use RAID.
    So what is the problem? I didn't have any issues at all with the previous configuration. Did any of the SATA port's became faulty when using the "Windows 8/8.1 feature" after the bios update? Should i ask for a replacement?
    The last thing i could try is to unistall the Intel Rapid Storage. MSI's drivers site for this m/b has the 13.1.0.1058 version while Intel has 13.6.0.1002 but they do not work as it says platform is not supported. I have the MSI's version installed all this time.

  • Load Grid with data from System.Data.DataTable

    Hi all.
    A have a System.Data.DataTable e need load a grid with data from this DataTable.
    How Load a Grid with data from System.Data.DataTable?

    Hi Francisco,
    actually i don't think that you can use a .NET datatable to fill a business one grid.
    the business one has it's own datatable.
    in c# it would look like this:
    oForm.DataSources.DataTables.Add("MyDataTable");
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).DataTable = oForm.DataSources.DataTables.Item("MyDataTable");
    oForm.DataSources.DataTables.Item(0).ExecuteQuery("SELECT Field FROM [dbname].dbo.TABLE");
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).CollapseLevel = 1;
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).AutoResizeColumns();
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).SelectionMode = SAPbouiCOM.BoMatrixSelect.ms_Single;
    good night
    lg David

  • Light goes off or System crash During Upload data through BDC Call Transaction ..

    Hi Experts ,
                    How do I know how many records had been updated in database while uploading the  flat file through BDC call transaction  ,the system suddenly  crash or light  goes off ..............
    Thanks and Regards .
    Om prakash 

    Hi Prakash,
    i have already told toy to use bapi to get all the error and success messages, through which you don't need to do all the above stuffs, the first method you have shown is based on algorithm , which might not be correct each time, and the second method is handy.
    You can add these code lines in your BDC which will give you all error and success messages
    DATA : BEGIN OF options.
             INCLUDE STRUCTURE ctu_params.
    DATA : END OF options.
    DATA: i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
           l_message LIKE bapiret2-message.
    DATA: p_mode TYPE c.
    DATA  BEGIN OF it_error OCCURS 1.
    DATA : text(100)  TYPE c.
    DATA  END   OF it_error.
    DATA  BEGIN OF it_success OCCURS 1.
    DATA:  text(100) TYPE c.
    DATA  END   OF it_success.
    START-OF-SELECTION.
      PERFORM upload_data.
    *   Report for success
       PERFORM  success_text.
    *   Report for Error
       PERFORM  error_text.
    END-OF-SELECTION.
    CALL TRANSACTION 'your transaction code' USING bdcdata
                                 OPTIONS FROM options
                                 MESSAGES INTO i_messtab.
         IF SY-SUBRC NE 0.
           CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'
             EXPORTING
               id         = sy-msgid
               number     = sy-msgno
               language   = sy-langu
               textformat = 'ASC'
               message_v1 = sy-msgv1
               message_v2 = sy-msgv2
               message_v3 = sy-msgv3
               message_v4 = sy-msgv4
             IMPORTING
               message    = l_message.
           CONCATENATE l_message '-' wa_input-newko wa_input-wrbtr wa_input-budat INTO it_error-text
           SEPARATED BY ' '.
           APPEND it_error.
         ELSE.
           CONCATENATE 'DATA UPLOADED SUCCESSFULLY :' wa_input-newko  wa_input-wrbtr wa_input-budat
           INTO it_success-text SEPARATED BY ' '.
           APPEND it_success.
         ENDIF.
         REFRESH bdcdata.
         CLEAR: wa_input,l_message.
    ENDLOOP.
    ***ENDLOOP.
    endform.
                        " UPLOAD_DATA
    FORM success_text .
       LOOP AT it_success.
         AT FIRST.
           WRITE :/10  'Following records successfully uploaded'.
           ULINE.
         ENDAT.
         WRITE :/10  it_success-text.
       ENDLOOP.
    ENDFORM.
    FORM error_text .
       LOOP AT it_error.
         AT FIRST.
           WRITE :/10  'Following records  are not uploaded'.
           ULINE.
         ENDAT.
         WRITE :/10  it_error-text.
       ENDLOOP.
    ENDFORM.

  • System crash during data archiving

    Gurus:
    We have a serious concern that is if our R3 server crash during our data archiving runs:
    1) if crash happens at write phase, can we simply remove  the generated archive , restart the write  job?
         We are NOT sure if  the second run will archive those records that were archived in the failed first run.
    2) if crash happens at delete phase, a simple restart of the same delete job will be enough? (We use "store before delete").
    Because this archiving is too important to us, please help. 
    Thanks a lot!

    Christoph:
    Thank you for your reply.
    This crash has not happened yet.
    We are making a plan about how to cope with this possibility.
    But we do not have experience with any crash during archiving process.
    Therefore we ask  for people's experience about following scenarios:
    1) if crash happens at write phase, can we simply remove the generated archive , restart the write job?
    We are NOT sure if the second run will archive those records that were archived in the failed first run.
    2) if crash happens at delete phase, a simple restart of the same delete job will be enough? (We use "store before delete").
    Would you please help?
    Thank you again.

  • System crash during database extension

    Hello!
    Unfortunatly we experienced a system crash during database extension.  The new datafile (DISKD0013) was only partly (1,4GB of 9GB) created, when the server went down.
    These are the error messages we get when trying to start the database:
    2008-01-22 13:59:26  7246 ERR 11000 page0io_ Illegal file format
    2008-01-22 13:59:26  7246 ERR 11000 page0io_ blocksize wanted: 8192, blocksize found: 0
    2008-01-22 13:59:26  7214 ERR 11000 vattach  dev0_vattach returned FALSE
    2008-01-22 13:59:26  7214 ERR 20027 IOMan    Attach error on data volume 13: Could not open volume
    2008-01-22 13:59:26  7214 ERR     3 Admin    Database state: OFFLINE
    2008-01-22 13:59:26  7214 ERR     6 KernelCo  +   Internal errorcode, Errorcode 9050 "disk_not_accessible"
    2008-01-22 13:59:26  7214 ERR 20017 Admin     +   RestartFilesystem failed with 'I/O error'
    2008-01-22 13:59:28     0 ERR 12009 DBCRASH  Kernel exited due to signal 0(Killed after timeout with state SERVER_KILL)
    2008-01-22 13:59:28                          ___ Stopping GMT 2008-01-22 12:59:28           7.6.01   Build 012-123-145-275
    Is there a manual way to correct this problem by removing the "corrupted" DISKD0013?
    Regards,
    Fredrik

    Hi Fredrik,
    you can either:
    a) remove all necessary parameters from the paramfile using the relevant dbmcli commands (param_directdel)
    b) perform a parameterfile recovery using dbmcli (param_restore)
    You're okay as long as nothing was written on the new volume.
    When using a) you need to make sure you delete all necessary parameter entries belonging to the datavolume (size, type etc.).
    When you're restoring to an old parameterfile, you need to make sure the parameterfile's only difference is the datavolume extension as the last change, otherwise you'd possibly reset more than you'd like. To check the parameterhistory, you can for example take a look at the <DBSID>.pah file in the /sapdb/data/config directory.
    If you're unsure what to do, i.e. if it's a productive system and you're an SAP customer: open an OSS message.
    Regards,
    Roland

  • Help! (please :) I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Or If there is any purchased music then you can try to transfer purchases
    http://support.apple.com/kb/ht1848
    If you're in the US you can reload purchased music
    http://support.apple.com/kb/ht2519

  • HT1386 My system got crashed and I dont have backup fo my iphone.... now how do i synch my iphone with new itunes without loosing my data ?

    My system got crashed and I dont have backup fo my iphone.... now how do i synch my iphone with new itunes without loosing my data ?

    See if this user-tip for syncing to a new computer helps : https://discussions.apple.com/docs/DOC-3141
    If you have music from other sources on your phone (e.g. copied from CDs) and you don't have them on a backup, then there are some program listed half-way down this page which might be able to copy them back : https://discussions.apple.com/docs/DOC-3991

  • How to get system date automatically in date field once page is loaded

    Hai all,
    I am a newbie to jsp programming. I had a jsp page where there is a date field with a calendar available. Initially when the page loads it should have the system date in the date field. If the user wants any other date there he can select it from the calendar. But how can i get the system date to be loaded initially into the date field? Should i use the javascript here?
    Thanks in advance....

    #SYSDATE

  • HT1414 My iPhone has crashed during a sync and now I can't restore from backup as it is asking for password to load the backup yet neither the lock code for the phone or my iTunes Password are working... I have no other password to all upon and need the r

    My iPhone has crashed during a sync and now I can't restore from backup as it is asking for password to load the backup yet neither the lock code for the phone or my iTunes Password are working... I have no other password to call upon and need the restore to retrieve info onto my phone, I am a real novice to this...... please help, !!!!

    If anyone else is looking for a solution to this same problem, I was able to get it working looking through several older discussions.
    The solution was to use the password that I had on my iTunes account the very first time I set up the iPhone about a year ago.  I changed my iTunes password about 10 months ago;  but apparently, the backups continue to use the password that existed when the phone was first set up.
    A couple of troubling things with this are that 1) I didn't apply a password when I did the backup this afternoon so I don't understand why it was required when I did the restore a few hours later. and 2) it makes zero sense why iTunes would not be smart enough to use the current accout password when requiring the password to restore from a backup made with no password. 
    I thought iTunes and Apple were smarter than that.  With so many posts stating exactly the same problem, it is clear that this is bug in the software. 
    Best,
    Craig

  • System.Data.SqlServerCe.SqlCeException (0x80004005): Native components of SQL Server Compact engine are not loaded. Please reinstall Microsoft SQL Server Compact.

    Hi
    I have followed http://technet.microsoft.com/en-us/library/ms173298(v=sql.110).aspx to support private deployment for my application in anycpu mode.
    Though its working fine on several XP and Windows 7 , on on particular XP machine , I get this
    System.Data.SqlServerCe.SqlCeException (0x80004005): Native components of SQL Server Compact engine are not loaded. Please reinstall Microsoft SQL Server Compact.
       at System.Data.SqlServerCe.NativeMethods.ThrowIfNativeLibraryNotLoaded()
       at System.Data.SqlServerCe.SqlCeEngine.Dispose(Boolean disposing)
       at System.Data.SqlServerCe.SqlCeEngine.Finalize()
    Can anybody give me directions on this?

    Do you use LINQ to SQL or EF or ADO.NET, is what 
    Yes, I would start by investigating:
    - Do you REALLY need "any CPU", or can you cope with just x86 to make things simpler (See my LINQ to SQL blog post)
    - Is SQL Server Compact installed on this PC, and which build (is it same or different from the one you distribute)
    - Use Process Explorer from sysinternals on the machine to find out where the app tries to load the native libraries from (and fails)
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

Maybe you are looking for

  • To check the TCP/IP RFC destination connectivity

    I am working on R3-->XI connectivity and when i check the destination it looks fine but when I check with the function module for Connectivity, It gives me error.Please suggest any function module who ensures the R3->XI connectivity. Thanx in advance

  • Ungrouping an imported pdf into Illustrator

    Is there a way to ungroup the elements of an imported pdf in Illustrator 6? Do you have to change the settings in Adobe Acrobat first to allow the elements to import individually rather than a group? Thank you.

  • Duplicate Calendars showing up

    In iCal, I now have two versions of each of my three Calendars showing up: one set under [email protected], and another under MYNAME @me.com. How do I get rid of one or the other?

  • HT5429 What can I do about the fact that IOS maps no longer shows my home street correctly on the map?

    It showed correctly under Google maps but whole sections of the street are missing under IOS 6. I have tried reporting the problem via the recommended method and received no response. I know that this is also a problem in Tom Tom because I discovered

  • CS3 Web Premium to CS4 Web Premium student upgrade

    Hello, I recently (yesterday) upgraded from CS3 web premium to CS4 web premium.  I deactivated and uninstalled the CS3 first.  I am now trying to open my files from the server in Dreamweaver with no luck. What is happening is,it goes through the down