Inventory critical error 1011
Posted by: CRR
Inventory critical error 1011 - 05/03/17 11:59 AM
While trying to post an adjustment in Inventory "critical error 1011 insufficient rights to create file in data directory" comes up and will not let me post. Using version 9.2A. How can this be fixed?
Posted by: Retired_Guy
Re: Inventory critical error 1011 - 05/03/17 12:05 PM
Have your network administrator grant you sufficient rights to run Adagio.
Posted by: CRR
Re: Inventory critical error 1011 - 05/03/17 01:03 PM
How / Why is this error occurring? I have made the adjustments before without any issues.
Posted by: Retired_Guy
Re: Inventory critical error 1011 - 05/03/17 01:18 PM
Because your network administrator has changed your permissions on your network.
Posted by: Softrak Support
Re: Inventory critical error 1011 - 05/03/17 01:25 PM
Hi CRR,
The error is indicating that a file cannot be created, either because rights are not allowed, or because a temporary work file needs to be created and it already exists, perhaps because it didn't clear correctly the last time it was used. Since you previously have been able to post adjustments, the latter case seems most likely. I've also seen this error occur when the system database file was too old or had a particular issue (not since 2008), if required dictionary files were missing, or if any data files were accidentally marked as read only or prevented user access rights.
Has anything changed since the last time you posted an adjustment, such as installing any upgrades? Do you recall any error messages in Inventory (or OrderEntry or PurchaseOrders) that might have caused the program to not be able to be closed correctly?
You can try accessing sample data to see if adjustments can be posted there. That can help identify if the issue is particular to the system or Windows user, or if it is isolated to your company data. You may also want to reach out to your Adagio consultant.
Posted by: Softrak Support
Re: Inventory critical error 1011 - 05/04/17 01:43 PM
Hi, All,
CRR's dealer did some great sleuthing and replaced the existing Adjustment files with new ones and the problem was resolved.
Not sure at this time if there was some specific security set on the original files or they'd been made read only or if there was some other damage but this issue has been resolved.
Posted by: GT
Re: Inventory critical error 1011 - 05/08/17 01:13 PM
Quick question....What file is responsible for the F6 smart finder as this same error appeared only when this function was called.....Happening in OE 9.2A (2016.07.07). Maybe if I replace this file it will also be resolved.
Posted by: Softrak Support
Re: Inventory critical error 1011 - 05/08/17 01:53 PM
Hi, Ishana,
Can you provide more detail about exactly what you're doing when you receive this error and on what or all windows in OE? While I don't have another report of this, I'd like to make sure there isn't an issue here.
The SF files can vary depending on whether only a single criterion or multiple criteria are used. When no one is using the data, you could look for the OEF###'I and 'R file pair and the OEMFCT'I and 'R file pair.
Posted by: Steve Schwartz
Re: Inventory critical error 1011 - 07/25/17 04:31 PM
I have a client reporting the exact same issue as Ishana, using OE 9.2A (170710). The error pops when they press F6 on the item code field when entering an order.
Ishana, what was the resolution to this? Or Softrak, can you tell me what needs to be done.
Thanks
Steve
Posted by: Softrak Support
Re: Inventory critical error 1011 - 07/25/17 04:45 PM
Hi Steve,
I believe one reason for this was that a smart finder file did not have the complete pair of the index and random files, either for the standard smart finder search, or the special files used when smart finder has one or more criteria.
Softrak Support's previous reply on this thread, on May 8, referenced some file pairs OEF###'I / OEF###'R and OEMFCT'I / OEMFCT'R. The first pair is for remembered smart finder search results (which are supposed to be deleted when the user associated with the SF search closes the program), and the second pair is the multiple-criteria smart finder.
The solution would be to ensure that no-one is in the data, then remove the unmatched file.
Posted by: Steve Schwartz
Re: Inventory critical error 1011 - 07/26/17 11:50 AM
I removed the unmatched OEF001'I.xxx file and it solved the problem.
Thanks
Steve
Posted by: Warren Karges
Re: Inventory critical error 1011 - 10/18/17 11:24 AM
We just upgraded a site to OE 9.2A 20170710, multiple users reported seeing this issue:
"Critical error 1011 insufficient rights to create file in data directory"
They got it immediately after trying to use F6 on an item detail line(before even entering any search details), multiple users reported this issue at the same time but we were unable to re-create the issue minutes later. We were unable to find any unmatched OE finder files, nor multi-part files that were unmatched.
None of the users have permission issues inside the data directory. We suspect there is some process that is causing the lock, or perhaps 2 users tried to open the SF at the same time? I'll report more details as I get them but this is not a user permissions issue.
Posted by: Softrak Support
Re: Inventory critical error 1011 - 10/18/17 11:48 AM
Hi Warren,
The 'error 1011' typically is given when an index file cannot be created. File rights and mismatched index/random pairs are two known reasons.
When in an item detail line, what field was attempted to use the F6 smartfinder when the error occurred? Any field with F6 capability or just one or certain ones? Knowing that could be useful, as the problem might actually be mismatched index/random file pairs on the underlying data file rather than just the SmartFinder files.
You could also try the same process on sample data, just to see if the scenario is localized to the clients data, or whether the issue is not data related. Perhaps something failed in the conversion of the data.
I believe the correct data dictionaries for OE92A should be dated April 26, 2016. I would expect different errors if the dictionaries are incorrect, but something to check.
What version of ADS32.DLL is installed? There are no known problems with this, but I did find an issue about 10 years ago where something in ADS caused this error in a particular function for a particular data set.
Posted by: Warren Karges
Re: Inventory critical error 1011 - 10/18/17 12:03 PM
Thanks for the quick reply. Both users would have been using the finder on the item # field. We cannot recreate the error after a small amount of elapsed time (minutes) in their data or in sample data. We were not shown any unusual data conversion messages.
The dictionary dates are good, ADS is 1.12.67.3611, dated august 4th, 2017.