- Local time
- Today, 07:26
- Joined
- Feb 28, 2001
- Messages
- 30,126
This is the key line. Exception code 0xc0000005 is (a) a task-fatal error due to the 0xc0" part and (b) is a memory management fault due to the "005" part and (c) an error detected by the Windows O/S itself (due to the "000" that is between the other two parts.)Exception code: 0xc0000005
ACECORE.DLL is the interface routines to the ACE database engine, code which is pre-compiled into machine code in what is sometimes called a "pure segment", which is almost certainly protected by the memory management hardware to prevent code modification, and therefore cannot be easily modified by anything you can do. I'd be willing to bet that within an unmodified Access not using a home-made or 3rd party library, you CAN'T intentionally modify that code.
It must be a caller of ACE that is doing it. This can sometimes be caused by poorly managed subroutine or function calls. However, I don't see a function of any kind in the middle of the SQL you presented to us, and you denied that any functions are involved, so it can't be a "user's faulty call argument" type of error. That leaves it as some type of corruption.
I'm going to list a few things to look at or try. I'll also give you my estimates on how likely it is to be your culprit.
1. Check your FE code references to assure that none of them are broken. (Low odds - but a fast/cheap/easy test)
Normally, your code wouldn't compile if you had broken references, but if the breakage occurred AFTER compilation, that could do it. I'm not betting on it but it is SO easy to check.
2. Compact & repair the FE file - and separately do the same for the BE file. (Slightly higher odds - and a fast/cheap/easy test) I am assuming that this is a split FE/BE type database, but even if it isn't split, the use of ACECORE.DLL tells me it IS a pure Access DB. It isn't something using an active SQL for a back-end server. That eliminates a pot-load of possibilities right there.
3. Presume that the corruption is in the code. Make a virgin database and migrate everything over to it. Look in Database Tools ribbon to find the External Data >> Import/Export option. (Medium odds) This isn't something you would do often, because unless you have somehow triggered a more extreme type of corruption, the Compact & Repair should help.
4. If you have the Office Kit available, try to do a repair on MS Office including Access. (Medium odds) Kits for Office DO have the Repair option. If you get this far, use "repair" first. It's faster - if it works.
5. If you have the Office Kit available, remove and reinstall Access. (Medium odds)