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

problems porting app to server to create runtime

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

    problems porting app to server to create runtime

    I'm counting on you all being brilliant, as usual.

    We're having problems porting our app to the server to create a runtime app. We did the same process only a week ago and it worked fine (same alpha build, same app, same directory structure, same porting process, etc.). I've added some tables, forms and reports since last week, but nothing that I would expect to impact the opening of a db. My partner called tech support, but was advised to post a message to the phorum, so here it is.

    I created an app on my laptop, using A5V5 full version, build 1506. It runs very nicely on my laptop. I then zipped the app using Alpha's zip tool. My partner unzipped the file on the server (our goal is to create a runtime app and the server is where we have both the development and runtime versions).

    Below are the problems we are experiencing BEFORE even attempting to create the runtime app. We tried re-zipping the app and reinstalling on the server. We also tried copying my entire development directory over to the server, but continue to have the same problems.

    1.logon dialog failure
    The xdialog box never pops up to request login.

    2.autoexec failure
    The app doesn't seem to run my autoexec script, which hides the control panel for most users, loads some global variables from a setup table, etc.

    3.repeating menu bar
    The top Menu Bar repeats 6-7 Times across the top of the screen.

    ANY SUGGESTIONS? PLEASE HELP! Thanks.
    -Kellen Furness

    #2
    RE: problems porting app to server to create runti

    Questions before suggestions.

    What OS is on the laptop? What OS is on teh Server?

    How are you connecting?

    Did you set appropriate permissions on the server?

    Alpha EXPECTS to have full permission to add, delete, and modify files. If the server hs not granted you (as a user) full access to the folder and/or tables, you will be out of luck.

    Can full Alpha open the control panel of the database on the server?

    Are any of the tables or sets "grayed out"?

    Did you set proper shared database path in the runtime?

    That should be enough to get you started. With answers, we may be able to help you alon the way.

    Tom

    Comment


      #3
      RE: problems porting app to server to create runti

      Thanks for the reply, Tom. The answers to your questions...

      Laptop OS is Windows XP Home.
      Server OS is Win 2000 Advanced Server.
      Connecting direct/cable. CAT5 Network.
      Logged into server as ADMINISTRATOR when doing this.
      Alpha CAN open the control panel of the db on the server.
      NO tables or sets "grayed out".
      I cannot even launch the db properly; I haven't created (and can't create) the runtime.

      I look forward to hearing your ideas.
      -Kellen

      Comment


        #4
        RE: problems porting app to server to create runti

        If I am hearing you correctly, you want to execute Alpha5 on the server. I don't recomend this unless you can guarantee that you won't ever lock up the server, else all your users will be stuck.

        I recommend that you install the full version on a workstation and only your database on the server. Set full access permissions and security to all users on the server folder containing your database. Map the server's drive to your workstation and work from there. Install runtime on every workstation that needs access, and map the server drive to those workstations as well.

        We have a very large network of users, and the only time we actually bring Alpha 5 up on the server is at night to do "batch" runs on our tables. Our server basically is just a file server. On your workstations, make sure that the data paths in Alpha5 are consitant.

        hope this helps.

        Tom

        Comment


          #5
          RE: problems porting app to server to create runti

          Hi Tom,

          I understand your assumptions, but it's not quite right. Our end users are remote (gas stations), so we do provide access via Windows Terminal Services for some applications running on the server. We do NOT plan to do this with our Alpha applications, however, for the reason you stated, as well as to maximize processing speed. ALSO, although the end users have the same basic data profiles, only we at the head office care about the aggregation and manipulation of the data since we provide reporting to the gas station ownership. So...

          We have runtime installed on our server merely because that's the computer we intend to use to create the executables. It's my understanding that you must have both the development and runtime versions installed on the computer where you create the executables. True?

          We intend to install Alpha runtime at each gas station and provide each station with their own executable. They will run the app locally and store their own data locally. We will use PCAnywhere to poll at night for data updates and merely copy that data to our server tables for data aggregation, comparisons, etc. (all data tables include a location_code unique to each station).

          Does this scenario make sense with Alpha? Does it help explain the problems we're having in launching the app on the server (even prior to attempting to create the executable)?

          Thanks,
          Kellen

          Comment


            #6
            RE: problems porting app to server to create runti

            Kellen,

            You write:

            We have runtime installed on our server merely because that's the computer we intend to use to create the executables. It's my understanding that you must have both the development and runtime versions installed on the computer where you create the executables. True?
            ---------------------------------------------------------

            Using vers 4 of Alpha Five this is NOT true. I don't have experience with vers 5 of the Runtime, but would be very surprised if it were true with it, either.

            For the typical office LAN the development machine contains the full version of Alpha Five. The app is built and tested on this machine.

            The app (the database) is then copied to a shared folder on the machine which will act as file server to the workstations.

            The runtime engine is installed on each workstation but NOT the server.

            The runtime engine opens the database on the server over the network, and optimizes it back to the local workstation. Thereafter the runtime engine runs the shadow copy of the database which is now resident on the local workstation.

            -- tom

            Comment


              #7
              RE: problems porting app to server to create runti

              Thanks, Tom, but it sounds like this is a different scenario than what I described above (although it will be useful info if we start using alpha for internal office db's). Our current situation is that our end-users are off-site, even in different states (as in MD/VA, not a computer state reference).

              Any comments/ideas on my original problems, which prompted me to start this message thread in the first place?

              Should we try calling tech support again? Or is it standard Alpha practice to refer all tech questions back to the phorum?

              thx,
              Kellen

              Comment


                #8
                RE: problems porting app to server to create runti

                Kellen,

                Check me on this. Your situation is simple. The network is irrelevant:
                -You just copied your application from the laptop to the server.
                -You installed A5 (full-forget the runtime for the moment) on the server.
                -You then sat down in front of the server and ran A5 (this renders the network irrelevant)
                -When you attempted to navigate to your application (from within A5) and open it you got your problems.

                If you didn't do this try it and report back with the results.

                Otherwise, forget about the A5 zip utility and use winzip to transfer your application to the server and try what I suggested above.

                Also, if you transfer your application to yet another computer do you get the same results. If so, your application may contain absolute paths.

                Have you compacted your application on the server?

                If I have totally misunderstood what you have done please correct me.

                Bill
                Bill Hanigsberg

                Comment


                  #9
                  RE: problems porting app to server to create runti

                  Alpha can easily do what you want. I think you would probably want a slightly different app at the server side than at the local gas station. as your information needs will be greater than the local station's. The pollong really has no bearing on Alpha. That should only pull information from one remote location, place it into a folder known to the server app, run the server append, then go on to the next station.

                  I would create a blank table that looks like thetable on a remote system, atach itto the server database, then during your polling sequence, first initialize the table to make sure it is blank, then poll the station to populate the table, finally, append the data into your main server table.

                  Once done with station 1, do the same for all other stations in sequence.

                  All that said, I think bill may have hit on an issue of absolute pathing. Your server will have different permission levels and security than a stand-alone machine, even for someone connecting at the console.

                  tom

                  Comment


                    #10
                    RE: problems porting app to server to create runti

                    All-

                    I am trying all of your suggestions and researching topics you've mentioned with which I'm not familiar. Thanks for your time. I'll write after I've followed through with your suggestions.

                    -Kellen

                    Comment


                      #11
                      RE: problems porting app to server to create runti

                      Problem remains (DB not requiring login and not playing autoexec script):
                      The top theory seems to be that my problem is being caused by absolute paths. After lots of phorum research, I still don't know how to avoid absolute paths. I did NOT check this option when I used Alpha's zip tool and I've even gone so far as to copy my entire directory over to the server without zipping at all. I also read that absolute paths are created for any tables that reside outside of the db folder, but I have everything in the same folder (well, everything except for the zip file, but as I mentioned above, I also tried transferring the files without zipping). Is there any way to verify that this is the problem? Or insight on other ways that absolute paths are created without my explicit request?

                      Repeating menus:
                      This problem went away after compacting the db. Thanks for the tip, Bill Hanigsberg

                      Polling remote locations:
                      Tom Henkel's suggestion on polling process is an improved version of what I had planned to do-thanks.

                      -Kellen

                      Comment


                        #12
                        RE: problems porting app to server to create runti

                        Kellen,

                        Regarding absolute paths, if--within your application--you write code specifying an absolute path, that code will fail when your application is copied to a machine where that path does not exist.

                        So it's not primarily a zip file issue; it's a design issue.

                        Bill
                        Bill Hanigsberg

                        Comment


                          #13
                          RE: problems porting app to server to create runti

                          Kellen,

                          Is it possible that you could post the DB up to the forum?
                          Maybe if one of us took a look at what you were doing, we could be of more help. Something seems to be happening right at startup to prevent you from signing in.

                          Tom

                          Comment


                            #14
                            RE: problems porting app to server to create runti

                            I'm reluctant to post the DB here since it contains proprietary data for the first gas station that will implement it. As an alternative, could I send the DB directly to one or two of you and pay you as a consultant to do the review? Once you determine the problem, one of us could post a description of the resolution for other interested phorum readers.

                            -Kellen

                            Comment

                            Working...
                            X