CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2002
    Posts
    72

    Disk or Network Error

    When I try to open a large database (40,000 records) on one of my applications and order it by a non-index field I receive a run-time error 3043 "Disk or Network Error". The debugger stops on opening the recordset. I'm using DAO. If I order by an indexed field their is no problem. If the recordset is 9000 records then their is no problem. I have a couple of other applications that use the same type of code and work just fine when ordering by indexed or non-indexed field regardless of record size. In reserching this error on the Internet it appears to be associated with running apps off of a server. My application is running on a single PC, no server involved. Also, it only occurs on a Windows 2K PC. Works without problems on Win 98 and XP PCs that I have tested with. Does anyone have any idea on the problem or what I should try for isolating it? Thanks.

  2. #2
    Join Date
    Aug 2003
    Location
    London
    Posts
    515

    Re: Disk or Network Error

    What version of Access are you using? 97 / 2000 or later?

    Is your setup an EXE connecting to an Access database, all on the same machine?

  3. #3
    Join Date
    Apr 2004
    Location
    Patna,India
    Posts
    38

    Re: Disk or Network Error

    Hello!
    I faced this problem earlier while working with Access database. In my case this problem occurred when hard disk (in which database is located) goes out of space.

  4. #4
    Join Date
    Jul 2002
    Posts
    72

    Re: Disk or Network Error

    The database is Access XP and it is on the same PC. Upon further testing, the problem only occurs when going to runtime with VB. If I compile the program and run the exe from the same folder there is no problem. So it looks like the end user will not see this problem and therefore a solution would be nice but not essential.

  5. #5
    Join Date
    Oct 2003
    Location
    .NET2.0 / VS2005 Developer
    Posts
    7,104

    Re: Disk or Network Error

    how much emory does the ide use up when you run this query? how long does it take?

    access.. hmm.. have you thought about MSDE?
    "it's a fax from your dog, Mr Dansworth. It looks like your cat" - Gary Larson...DW1: Data Walkthroughs 1.1...DW2: Data Walkthroughs 2.0...DDS: The DataSet Designer Surface...ANO: ADO.NET2 Orientation...DAN: Deeper ADO.NET...DNU...PQ

  6. #6
    Join Date
    Nov 2004
    Location
    LA. California Raiders #1 AKA: Gangsta Yoda™
    Posts
    616

    Re: Disk or Network Error

    As you have mentioned that this issue usually occurs on a server (dealing with the Temp directory
    being utilized by Access and other programs). It could be that the system is running low on
    resources? Perhaps thats why it fails on large recordsets?
    VB/Office Guru™ (AKA: Gangsta Yoda™)
    VB Forums - Super Moderator 2001-Present

    Microsoft MVP 2006-2011

    Please use [code]your code goes in here[/code] tags when posting code.

    Senior Software Engineer MCP, BSEE, CET
    VS 2012 Premium, VS 6.0 Enterprise SP6, VSTO, Office Ultimate 2010, Windows 7 Ultimate
    Star Wars Gangsta Rap SE Reputations & Rating Posts Office Primary Interop AssembliesAdvanced VB/Office Guru™ Word SpellChecker™.NETAdvanced VB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address ListVB6/Crystal Report Ex.VB6/CR Print Setup Dialog Ex.

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

Featured