Results 1 to 6 of 6

Thread: Wierd behavior w/ Microsoft Access database engine 2010 and VB.Net applications

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2013
    Location
    San Francisco, CA
    Posts
    528

    Wierd behavior w/ Microsoft Access database engine 2010 and VB.Net applications

    Over the last few months, I've occasionally gotten the following error when starting an application (VB.Net w/MS Access dB):

    Name:  2020-04-19_22-15-41.png
Views: 641
Size:  24.7 KB

    When this happens, the "fix" is to open the Control Panel and repair the Microsoft Access database engine 2010 (English):

    Name:  2020-04-19_22-16-15.jpg
Views: 686
Size:  37.1 KB

    My system includes Windows 10 (Version 1909, OS build 18363.778), VS 2019 Community (16.5.4 and .NET Framework 4.8.03752), and MS Access 2019 32-bit (16.0.12624.20422).

    My applications otherwise has been running without any problems for months, or longer. I don't think the problem is with them. I think it's either a Windows issue (Windows Update?) or MS Access issue.

    I have no idea why this error is happening and would appreciate hearing from anyone who has experienced something similar.
    Last edited by Mark@SF; May 9th, 2020 at 07:26 PM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Wierd behavior w/ Microsoft Access database engine 2010 and VB.Net applications

    As you say, it's not a VB.NET issue so it doesn't belong in the VB.NET forum. If it relates to Access then the Database Development forum might be more suitable, although it's debateable whether it's actually a development question at all, unless the apparent corruption that is occurring is due to your code. I've notified the mods that this thread probably requires moving.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,102

    Re: Wierd behavior w/ Microsoft Access database engine 2010 and VB.Net applications

    I agree. This sounds like an Access issue, though not one I've run into. Is the database found on the same computer as the program? Access over networks can have some odd issues, though it doesn't usually manifest in this fashion.
    My usual boring signature: Nothing

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2013
    Location
    San Francisco, CA
    Posts
    528

    Re: Wierd behavior w/ Microsoft Access database engine 2010 and VB.Net applications

    Shaggy Hiker,

    The Access db is on the same computer as the VB.Net application.

  5. #5
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,261

    Re: Wierd behavior w/ Microsoft Access database engine 2010 and VB.Net applications

    Since it throws Out of Memory: Have you tried starting it while running a ressource-monitor to find out, which process hogs your memory?

    EDIT: Can you open your db-file directly with Access?
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2013
    Location
    San Francisco, CA
    Posts
    528

    Re: Wierd behavior w/ Microsoft Access database engine 2010 and VB.Net applications

    Zvoni -

    I haven't tried looking at the resource monitor yet, but the next time this error occurs I'll do that. Good suggestion, thanks.

    My computer has a lot of RAM.

    Name:  2020-04-21_5-24-39.jpg
Views: 566
Size:  28.4 KB

    It's hard to believe that the issue is not enough memory, especially when the "fix" has been to repair the MS Access dB engine (not add more memory).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width