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 ...
    • Feature - Outside Services Improvement for Plus Work Order

      Release Date: 4/14/25 Version: 8.5 and Above This feature implements a new method for outside processing with Work Order Plus. This feature addresses several issues: It addresses that the issue is the cost of outside processing timing. It adds ...
    • Feature - Outside Services Improvement for Plus Work Order Background

      Release Date: 4/14/25 Version: 8.5 and Above How the Legacy Manufacturing Modules Handle Outside Services SFC -- Create a Shop Order with Outside Services operation, adding job number to associate with Shop Order. PO – Create Outside service PO, Item ...
    • ARJOBMNT Accounts Receivable Job Code File Maintenance

      Job Code File Maintenance Application Overview A job is a particular project or activity for which you are tracking expenses and billings. This file is used to keep track of all of the valid job numbers being used and their associated budgets. When ...
    • Btrieve Error USE on COP Lock File

      Q - Today, for whatever reason, we experienced a large amount of locking issues in the warehouse. Several times today we ran into the problem with printing invoices where we received a message "Btrieve Error USE on COP Lock File," and it stops ...