Error 199 Operating System Error Code Lies Outside Expected Range

Error 199 Operating System Error Code Lies Outside Expected Range

Release Date:
Version: 7.x & Up

An Elliott reseller reported one of his users received an IO error message:


Btrieve Error 199 on CPORDHDR AR Control File (32-Bit)
199 Operating System Error Code Lies Outside Expected Range 

with the following file IO error window:


Below is our initial response to the reseller about this issue:

This is the first time we've see error 199. While we can’t be sure exactly what happened because the error code is vague, but I can give you my speculation.

  1. The actual error is on ARCTLFIL.DAT, not CPORDHDR.BTR. Our system codes have some deficiency in reporting the error when it is on the DAT file, which causes the message to be confusing.
  2. Elliott is trying to access (read or update) ARCTLFIL.DAT, which contains the invoice counter.
  3. It ran into an error. The error reported by the OS to our runtime system is unexpected, and hence the error 199.

If I were to hazard a guess, it might be due to a file locking issue. If you can go to the server console and find out who was opening the ARCTLFIL.DAT file, that might give you more of a clue. Use the following KB article to help: https://support.netcellent.com/portal/en/kb/articles/received-message-must-run-cop-setup-first

Ten days later, the reseller reported that the issue was resolved due to "Windows is not registered."  Here is the message from the reseller:

After getting this message user received a message that “Windows is not registered”… The network team ran a full system check including SFC that resolved the windows message and the Elliott error messages. I believe that another user also received this message about 2 years ago and ended up being a bad windows password. Conclusion on Error 199 to my opinion is that this is a system error that can be fixed by checking the system or user password.


EMK


    • Related Articles

    • Error: Trx Date Outside Date Range (00/00/00 - 00/00/00)

      Release Date: 7/23/2018 Q - I have entered new quantities for inventory for the end of our fiscal year (June 30). I have only done this once before so I may have not done it correctly. When I go to post I get the following error: I checked my Global ...
    • Btrieve Error Codes 001 - 199

      MicroKernel (Btrieve) Database Engine Status Codes This section describes status codes that the MicroKernel returns. All status codes are provided in 3-digit formats since the search on this website cannot search 1 or 2-digit words correctly. That is ...
    • SYMENU System Manager Introduction 23

      Deferred Report Processing Overview Deferred Report Processing is a re-design from the V6.X DOS deferred processing user interface. Many new features were added in Elliott for Deferred Processing and a different file, DEFERWIN, was needed to store ...
    • SYMENU System Manager Introduction 46

      Attribute Handling Application Overview Attributes are database extensions or controls that can be attached to any master record. They are normally used to track information that is outside of the master record and in some cases for control purposes ...
    • Report Viewer Generates "System Out Of Memory Exception" Error

      Q - I received the following error when running the line item auditing report for 1/1/15 to 11/30/15 for only the WEB-USER account: Exception of type 'System.OutOfMemoryException' was thrown. See example below. What should I do? A - This report is ...