Results 1 to 4 of 4
  1. #1
    Gdm is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    28

    Question Getting unexpected behavior from Access DB

    I am querying an Access DB Query with an SQL statement from Asp.Net.
    The data does not change.
    About 99% of the time I get 44 records returned - that's correct.


    About 1% of the time I get 0 records returned - that's wrong!
    The query is fairly simple, so I think it is an environmental issue.

    Why would this happen?

    Any ideas most appreciated!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Provide query and code to analyse. Might be an ASP, not Access, issue.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Gdm is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    28

    Smile

    It turned out to be an environmental problem, not Access.
    The hosting company set up the server so that after some period of inactivity it begins to "go to sleep" (obviously not a technical description, but I do not know the details). It is at that state that trying to retrieve records from the Access database fails.
    The solution at this point is was create a task that would keep the server "awake".

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks for posting back with your success and solution.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Web Form Behavior on Sharepoint
    By Flanders in forum SharePoint
    Replies: 1
    Last Post: 09-12-2011, 03:00 PM
  2. Unexpected Results from Curdir?
    By bginhb in forum Programming
    Replies: 6
    Last Post: 08-17-2011, 03:58 PM
  3. InStrRev returning unexpected results
    By jgelpi16 in forum Programming
    Replies: 2
    Last Post: 12-07-2010, 01:04 PM
  4. Query showing unexpected results
    By johnmerlino in forum Queries
    Replies: 30
    Last Post: 10-25-2010, 07:08 AM
  5. MS Access Enter Key Behavior
    By RAPSR in forum Programming
    Replies: 0
    Last Post: 12-23-2007, 02:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums