OFFICIUM INSERVIO IT
Your reliable partner for your business software...
Sage 100 MS-Access Stapelspeicher-Fehler / MS-Access Out of Stack Memory error
(alle Versionen/all versions)
Samstag, 12. September 2026
Deutsch
Hintergrund
Beim Aufruf eines AddOns , bei dem in Teilen Aufrufe noch über MS-Access-AddIns geroutet werden müssen , erscheint folgende MS-Access-Fehlermeldung:
Sie haben als Einstellung der Ereigniseigenschaft den Ausdruck Bei Zeitgeber eingegeben. Dieser Ausdruck hat einen Fehler verursacht: Nicht genügend Stapelspeicher.
Das Verhalten war , je nachdem wie das AddOn aufgerufen wurde , unterschiedlich.
Beim "normalen" Start des Sage ERP-Systems (mittels der "OLStart.exe") erscheint diese Meldung beim Aufruf des AddOns.
Wird die Entwicklerversion des MS-Access-Frontends , die Accdb , direkt aufgerufen , dann funktioniert alles fehlerfrei.
Wird die compilierte Version des MS-Access-Frontends aufgerufen , die Accde , dann stürzt MS-Access beim Aufruf des Formulars mit o.g. Meldung ab.
Das Sage Tracelog ergab keine Informationen.
Die Speichererweiterung seitens Administrators hat nicht geholfen.
Das Verhalten tritt auch mit auskommentiertem "Form_Open"-Ereignis-Quellcode des Formulars auf.
Ursache / Lösung
Um das Problem zu lösen , musste die Eigenschaft "Gebunden" des Formulars von "Ja" zu "Nein" umgestellt werden.
Eine aktivierte Formularbindung führte ausschließlich zur Laufzeit in compilierten Versionen des MS-Access-Frontends zu o.g. Meldung.
English
Background
When calling an add-on , where calls still partly need to be routed via MS Access add-ins , the following MS Access error message appears:
You entered the expression On Timer as the event property setting. This expression has caused an error: Out of stack space.
The behaviour was different , depending on how the add-on was called.
During the "normal" start of the Sage ERP system (using "OLStart.exe") , this message appears when calling the add-on.
If the developer version of the MS Access front end , the Accdb , is called directly , then everything works without any errors.
If the compiled version of the MS Access front end , the Accde , is called , then MS Access crashes when calling the form with the aforementioned message.
The Sage trace log provided no information.
The memory expansion within the Sage administrator tool did not help.
The behaviour also occurs with the form's "Form_Open"-event source code commented out.
Cause / Solution
To solve the problem , the "Bound" property of the form had to be changed from "Yes" to "No".
A form binding led to the aforementioned message exclusively at runtime in compiled versions of the MS Access front end.
