28 out of stack space

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Our application runs on Access xp. One of our customers reported a random
"out of stack" error while previewing some reports (docmd.openReport...)
The error causes Microsoft Access to crash (the user has to kill the process
via the task manager).
The problem is unpredictable, may occur on different reports, and sometimes
it takes several tries before reproducing it.
We have noticed that, for one specific report, if the user's selection
causes the report to have no data, then, the out-of-stack error will allways
rise.
Our customer runs the application via terminal server; the error may occur
with different users.
What is the cause of the out-of stack error raised by docmd.openreport?
Why does it look "unpredictable"?
Thank you
 
Hello Groupe,

There are many factors may cause the "out of stack" error. The "Out of
stack space" error means that there are too many items stored on the
program's thread, which has limited space. One possible cause is recursive
calls; other probably cause of it is passing arrays or big size user
defined types through parameters.

This issue usually occurs due to the code issue. Please check your code.

I hope above information is helpful.

Sophie Guo
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top