Others

Fix Access 2016 Out of Stack Space Errors and Security Warnings

Algirdas JasaitisAlgirdas Jasaitis Nov 25, 2026 869 views

Question details

Identify why an Access application that works on one computer produces stack errors and security warnings on others.

Fix Access 2016 Out of Stack Space Errors and Security Warnings
Product
Microsoft Access 2016
Device & OS
not provided
Scenario
A split Access application uses a front-end database linked to a back-end database on multiple computers.
Observed behavior
Affected computers show an Out of Stack Space error before the startup form loads, along with security warnings. The problem persists in a stripped-down database and after importing objects into a new database.
Before you start

Identify a working computer and an affected computer so you can compare their Access builds, VBA references, and back-end paths. Confirm that the affected user can reach the back-end database and has permission to use it.

Solution 1Recommended

Bypass startup and check the linked tables

Use this approach when the error occurs before the startup form loads and missing links may be triggering startup code.

1
Bypass startup

Close the front-end database, then hold Shift while opening it to bypass startup options and the AutoExec macro. This shortcut may not work if the database's bypass key has been disabled.

2
Inspect linked tables

Open External Data > Linked Table Manager. Check that each linked table points to the intended back-end database and that the affected computer can access that path.

3
Refresh incorrect links

In Linked Table Manager, select the affected tables and refresh or relink them, browsing to the correct back-end file when prompted. Open a linked table from the Navigation Pane to test access.

4
Trace startup code

Press Alt+F11 to open the VBA editor and inspect the AutoExec macro and startup form event procedures. Look for code that repeatedly calls itself or retries when a table or field is missing, and add link validation before that code runs.

5
Test startup again

Close and reopen the front end normally. If the error remains, use breakpoints in the VBA editor to trace the startup path and identify repeated calls.

Bypass startup and check the linked tables
A valid link may not be the whole issue: A stack error can also come from recursive procedures or event handlers. Checking links helps rule out one possible trigger, but it does not prove the cause.
Free Microsoft Office alternative

Use WPS Office for Everyday Documents and Spreadsheets

WPS Office is a free, lightweight Office alternative with a familiar interface for working with documents, spreadsheets, and presentations. It supports common Microsoft Office formats for an easier transition, but it does not fix Access startup errors or replace an Access database application.

Open and edit compatible Microsoft Word, Excel, and PowerPoint formatsWork with spreadsheet data in WPS Spreadsheets alongside your database workflowUse a familiar interface for everyday Office tasksGet a lightweight Office suite with a free option
microsoft office alternative - wps office

Frequently Asked Questions

Why does the stack error appear before the startup form opens?

An AutoExec macro or other startup code may run before the form appears. Hold Shift while opening the database, if the bypass key is enabled, then inspect the startup path in the VBA editor.

How can I check whether the back-end table links are correct?

Open External Data > Linked Table Manager and inspect the linked tables. Refresh or relink any incorrect paths, then open a linked table to test access.

Where can I compare Access builds and VBA references?

Select File > Account > About Access to check the version and build. In the database, press Alt+F11 and select Tools > References to compare references and find any marked MISSING.

Should I enable content when Access shows a security warning?

Enable content only after verifying the database and its source. You can review trusted locations under File > Options > Trust Center > Trust Center Settings > Trusted Locations, subject to your organization's policies.

Does compiling the database prove that startup code is safe from stack errors?

No. Debug > Compile checks for compilation errors, but recursive calls or repeated event handling can still cause an Out of Stack Space error at runtime.