Solved

RunTime Error 23 "Out of Stack Space"

Posted on 2003-11-04
4
880 Views
Last Modified: 2008-03-17
I have a MS Access Database in which I used tons of VB and the database is backed by SQL Server 2000.  There are about 10 - 15 users on at any given time.  I am recieving this error at my OpenReport commands.  Runtime error 23 "Out of Stack Space".  The funny thing is that if I log in as Server/Administrator I don't recieve that error.  Which permissions is this linked to?
0
Comment
Question by:kpkirishy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Author Comment

by:kpkirishy
ID: 9680121
this only happens occasionally and on Some of my OpenReport commands.
0
 
LVL 32

Expert Comment

by:Brendt Hess
ID: 9680429
Generally, an 'Out of Stack Space' error indicates that you have some form of recursion happening.  Since it does not happen as Administrator, the assumption that I would make would be:

(1)  You have a permission issue somewhere
(2)  Your code has an error trap in it
(3)  either
   (a) your error trap is receiving an error [e.g. no permissions to write the error to the specified log file], or
   (b) you have a RESUME statement that is being executed that places your execution point right back on the error, causing another error trap....

Check permissions on the reports, and on any data files linked to the report
0
 
LVL 1

Author Comment

by:kpkirishy
ID: 9680796
I don't even use the "On Error" statement in most of the code.  Exactly what permissions would i check?
0
 
LVL 1

Accepted Solution

by:
blschrock23 earned 115 total points
ID: 11379427
You are in need of server maintenance.  Check disk space, and the transaction log on SQL Server.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question