I have also just encountered this on my VSB2013 connecting to MS Access 2013.
I also solved it bit I do not fully understand why this works how stable it would
Note - the problem occurs when I cycle through 120 ish records. The process is read next record-process - read next record etc etc. The records are similar and some other database reads are required to process the record. The Unspecified error occurs on record/cycle 79 but the records are quite similar.
In my investigation I found that all 3 of the below work (ie the 120ish cycles occur with no errors) - but clearly the first 2 are for debug only
Solution 1 - WORKS) Insert a msgbox into the loop - message box reports the cycle number and record key that is about to be processed
Solution 2 - WORKS) Replaced the msgbox with a line that appends the same text to rich text box on my form with a Cr/Lf.
Solution 3 - WORKS) Replaced the RTB update with the line Threading.Thread.Sleep(15). Tweaking the number of milliseconds to sleep shows that that 15 and above consistently works in my code. Values of 9 and below consistently fail. Values in between 10 and 14 show inconsistent results.
As far as I can tell the sleep method suspends the loop to allow other events and garbage collection to take place. Is this similar to DoEvents that we used in the days upto VB6.
That is as much as I know.
Regards
Geoff