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

Table is being accessed by another process

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

  • Table is being accessed by another process

    Well...... I rebuilt the database and all seemed to be going well. Today, I tried to compact the database and I'm getting an error stating it can't because my main table is being accessed by another process. I'm the only one in it, no forms are open, I'm just at the Control Panel trying to compact. I looked at the Task Manager - Processes and I saw that A5Halt.exe was running. I ended that process and closed A5 out. I reopened the db, checked the task manager again, didn't see that process running so I tries again to compact the db. Same error as before. What causes it to think another process is accessing the table? Any ideas?

    Thanks,
    Scott (just about to tear my hair out at this point)
    Last edited by Al Buchholz; 12-04-2014, 02:12 PM.

  • #2
    Re: Now What????

    Scott, try looking for any files with the suffix ".$$*" in the database directory. They can be left over after a crash or abnormal shutdown and may prevent compacts, and/or changes to a table structure etc.

    Comment


    • #3
      Re: Now What????

      Hi Jon. Thanks for the reply. My understanding is that those are temporary files and may be deleted. Thanks, I'll check that out and delete them. I will be back working on the db on Saturday. I'll keep you posted.

      Comment


      • #4
        Re: Now What????

        Hello Scott,

        Is this ms sql database? Since you are the only one then, you can restart the service to clear all other processes.

        Regards,

        Doron
        The Farber Consulting Group, Inc.

        Main Web Site: http://www.dFarber.com
        MS SQL Blog: http://www.dfarber.com/computer-consulting-blog.aspx
        Convert Ms Access to Web
        Custom Software Development
        Alpha Five Development
        No Interest Loans Application

        Comment


        • #5
          Re: Now What????

          Scott,

          Later versions of Alpha Five have a function called

          a5_forceCloseTables()

          If its invoked after you log directly in to the server (i.e. not using shadow) will close all the open instances of your native Alpha Five tables that don't have windows.

          A5_force_close_all() will close the tables and shut down Alpha Five itself.

          Not sure if either is available in the older version of Alpha Five you are using.

          -- tom
          Last edited by Tom Cone Jr; 11-26-2014, 12:35 PM.

          Comment


          • #6
            Re: Now What????

            Thanks Tom. I have v11 and want to install it but am waiting to get my db working again before introducing a whole new set of problems.

            Comment


            • #7
              Re: Now What????

              May I suggest you install v11 and copy your work folder to a new folder and try it on there.
              You can run v5 and v11 on the same machine. I have v7, v10.5, v11 and v12 on my machine.
              You may find things work much better for problems you are having with v11.

              If I were dong all that you are doing now, I would not hesitate to make the jump. Definitely on a copy first.
              Dave Mason
              dave@aldadesktop.com
              Skype is dave.mason46

              Comment


              • #8
                Re: Now What????

                *****UPDATE*****
                I rebuilt the db AGAIN..... This time, no indexes and no field rules and no records in my main table. The other tables were built with no field rules but with indexes. I copied and duplicated all forms, operations and scripts. All seems to be working ok. We just started adding some of the field rules in groups of 5. Will add them over a period of time to make sure all is good. I'm cautiously optimistic. If all continues to work I still have the old db for my people to refer back to if necessary. I never did find exactly what triggered this meltdown or what exactly was corrupt. Once I have determined this is stable, I will be installing v11 and continuing from there. Thanks to all who gave me some direction and tips. Hopefully you won't hear from me again regarding this problem....lol.
                Scott

                Comment


                • #9
                  Re: Now What????

                  Bringing an app from an earlier version to v12 now. There are some things that can help. Some in code, but a lot of new functions and some that are not the same as earlier versions.

                  I just thought it was a good time to jump while there is a good reason. Instead or rebuilding the old, do it to the new.
                  Dave Mason
                  dave@aldadesktop.com
                  Skype is dave.mason46

                  Comment


                  • #10
                    Re: Now What????

                    My only concern with that was possibly adding problems from the jump to existing problems and having to sort which problem belonged to what.

                    Comment


                    • #11
                      Re: Now What????

                      May I suggest installing v11 and run it on a copy of what you have. It may clear more problems than it gives you.
                      Dave Mason
                      dave@aldadesktop.com
                      Skype is dave.mason46

                      Comment


                      • #12
                        Re: Now What????

                        Hi Dave. Actually earlier this year I already did that and documented changes I would have to make. When our current problems popped up early in November, I was planning on installing v11 that weekend. It's taken till now to seemingly get it straightened out. I want to give this another couple of weeks to make sure it's running smoothly and then I plan to install v11. Thanks for the suggestion though it is truly appreciated.
                        Scott

                        Comment


                        • #13
                          Re: Now What????

                          Scott
                          there has been some useful advice here. "Table in use by another program" message is not uncommon. Causes are many and varied.
                          This whole thread is pretty much unavailable to future visitors wanting help on this topic. Who would look for "Now What????"

                          Comment


                          • #14
                            Re: Now What????

                            You're right Ray. There has been much useful information on this thread and it did help me. Unfortunately when I titled the thread it was out of frustration. I'm sure that I'm not the only one who also checks threads to see who posted them. If they did they would probably conclude that this was a possible continuation of my problems. But you're right about who is going to search for a "now what" thread. I'll be more careful in the future. If I can change the title, then I will to something more appropriate. Thanks for the comment.

                            Comment


                            • #15
                              Re: Now What????

                              Originally posted by draxx2755 View Post
                              You're right Ray. There has been much useful information on this thread and it did help me. Unfortunately when I titled the thread it was out of frustration. I'm sure that I'm not the only one who also checks threads to see who posted them. If they did they would probably conclude that this was a possible continuation of my problems. But you're right about who is going to search for a "now what" thread. I'll be more careful in the future. If I can change the title, then I will to something more appropriate. Thanks for the comment.
                              Scott

                              Let me know what you want the title changed to.
                              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.

                              Comment

                              Working...
                              X