Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Maximum open tables exceeded

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Maximum open tables exceeded

    yesterday and today I got this error massage in one of my applications when loading a grid, does somebody knows why,

    Error 5 - Error loading D:\Bases de Datos Alpha Five v8\BD_INGENIERIA\tbl_datos_reporte.dbf: Maximum open tables exceeded

    is there a limit, if yes wich is limit and how can I control this?
    Cheers
    Mauricio


    #2
    Re: Maximum open tables exceeded

    The answer is 100.

    And as others would probably point out:

    http://support.alphasoftware.com/alp...ifications.htm

    As for the limiting, we would need to know a whole lot more about what you are doing and how you are doing it.

    Comment


      #3
      Re: Maximum open tables exceeded

      thank you for the info dough, it seems strange though besause I thought that when opening a grid the tables were opened only to poulate it and then closed so getting to the limit would be very dificult this way, am I wrong?

      other question if I have 100 users and every user opens the same table does each instace of the table counts as a diferent one (so that user 101 wouldnt have acces to the table).

      Last question I recently made a grid based on a Mapped table wich it seems that alpha didnt want this to happen because when choosing the source of the grid the mapped tables will not appear ,but if you select the "view" option you can select mapped tables (probably a bug). Can this be causing alpha to belive that multiple tables are open?
      Cheers
      Mauricio

      Comment


        #4
        Re: Maximum open tables exceeded

        What happens if the web app is solely written with grids and A5W pages? Do the tables close in some way that Alpha code writes in, or do I have to write in a table.close() statement to each, for each?
        David Shaw
        Manager of Media Services and User Support
        Cleveland Museum of Art
        Cleveland, Ohio

        Comment


          #5
          Re: Maximum open tables exceeded

          Dave I think that the tables are opened to populate the grid then they are closed. If you edit something and press submit the tables are opened again, updated, then closed. but I'm waiting for some one else to confirm this
          (I use girds widely in my applications).
          Last edited by mmaisterrena; 03-01-2009, 06:20 PM.
          Cheers
          Mauricio

          Comment


            #6
            Re: Maximum open tables exceeded

            I'm sure I have seen an enumeration A5 function that returns for you the actual "open files", But I can't find that now[confused]
            Also there are temporary files that A5 creates, I hope these aren't counted in the 100.

            Comment


              #7
              Re: Maximum open tables exceeded

              Based on the documentation that was pointed out in a previous post the limit is just for tables.

              Number of open tables 100
              Cheers
              Mauricio

              Comment


                #8
                Re: Maximum open tables exceeded

                I understand the 100 limit. In a post back in 2002 the discussion was the same as we are in. It was answered at one point that the "problem has been solved"

                Even if the limit was 1000 - how do you know/verify that the tables are closing from a grid. It's been a long day on this problem, and I still cannot get it to clear up.

                NOTE: the exact copy running local works perfectly every time. I know I open and close more than 100 times when developing. So why is the on-line server reporting the error?

                I too am waiting for a definitive answer.
                David Shaw
                Manager of Media Services and User Support
                Cleveland Museum of Art
                Cleveland, Ohio

                Comment


                  #9
                  Re: Maximum open tables exceeded

                  Dave are you getting the error too?,

                  You are right the limit is for opening tables concurrently as i understand, you can open and close tables 1,000,000 times and that will not cause the error

                  but I am suspicious of having a mapped table as the source of a grid, can this be causing the problem?
                  Last edited by mmaisterrena; 03-01-2009, 09:53 PM.
                  Cheers
                  Mauricio

                  Comment


                    #10
                    Re: Maximum open tables exceeded

                    I was on the path of Mapped tables too. I am going to pull them from the mix and see what happens. (sometime today) I would wonder though, how can you tell the server to release all the ones that are open? The A5 Force Close only works with desktop, although I could probably fix the problem that way. (a bit clumsy) , I'll report my results.

                    I always find that playing is the best way to learn Alpha - but a good lead in the manual helps too!
                    David Shaw
                    Manager of Media Services and User Support
                    Cleveland Museum of Art
                    Cleveland, Ohio

                    Comment


                      #11
                      Re: Maximum open tables exceeded

                      Originally posted by Editor View Post
                      I was on the path of Mapped tables too. I
                      I would question the use of a mapped table in the WAS.

                      You can accomplish the same thing with a view. And views have been around a long time and are well established.

                      Mapped tables are new and not really needed in the WAS. A view can already do a one to one relationship and be updateable....

                      Maybe there'll be a reason to use a mapped table in the WAS, but for now try it with a view and see if the problem goes away..
                      Al Buchholz
                      Bookwood Systems, LTD
                      Weekly QReportBuilder Webinars Thursday 1 pm CST

                      Occam's Razor - KISS
                      Normalize till it hurts - De-normalize till it works.
                      Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                      When we triage a problem it is much easier to read sample systems than to read a mind.
                      "Make it as simple as possible, but not simpler."
                      Albert Einstein

                      http://www.iadn.com/images/media/iadn_member.png

                      Comment


                        #12
                        Re: Maximum open tables exceeded

                        You are right I already replaced the mapped table with a view,Hopping that the problem wont show up again

                        I used the mapped table as a workaround because setting a view and linking to tables will return an error when trying to save the grid. but now I solved this problem, the error was caused because I defined a Key so I just deleted the defined key and now it works as usual
                        Cheers
                        Mauricio

                        Comment


                          #13
                          Re: Maximum open tables exceeded

                          That's what I like about this forum - we eventually get to the answer.

                          AL - yes I use the search to death. The 3 letter limit is a pest. But the real problem is asking the right question!!

                          Thanks guys, I'll try this fix. I would probably do better at this is I knew a bit more about how things worked under the hood.
                          David Shaw
                          Manager of Media Services and User Support
                          Cleveland Museum of Art
                          Cleveland, Ohio

                          Comment

                          Working...
                          X