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

Issue when printing as a non-administrator

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

    Issue when printing as a non-administrator

    Within the past 6 months or so at my organization, we've begun to encounter an issue with printing from Alpha Five v11 Runtime. All PCs here are running on windows 10 Pro. This used to occur occasionally and could be resolved by restarting Alpha, but now occurs 100% of the time. This also coincides with us updating our PCs to a more recent build of Windows 10.

    The issue is as follows:
    - When attempting to print a form (Print Current Record > Print), nothing happens. No dialog box or anything, though sometimes the cursor spins a bit indicating it's doing something. Nothing comes out of the printer.
    - When attempting to preview a form (Print Current Record > Preview), the window goes blank and a dialog box appears which says: "Printer error: preview - hdcPrn is NULL".
    - When attempting to print a report (Print > select a printer) a dialog box appears which says: "Internal error: 10003 - Backward access during sequential database processing".

    All of these issues go away and printing occurs normally when alpha is run as administrator, but of course, it's a major security issue to have our users armed with administrator credentials so they can run alpha as administrator every time. I've been scouring google for quite a while about this, and I've tried several options.

    Everything I've already tried to no avail:
    - Running Alpha in compatibility mode for Windows 8, 7, and XP
    - Uninstalling and reinstalling Alpha
    - Fully wiping and reinstalling Windows, followed by Alpha
    - Going into Windows printer settings and making sure AlphaFivePrinterV4 and AlphaFivePrinterV4p5 both have their port set to "NUL:"
    - Making sure the form in question is set to "use default printer"-- unlikely to be the issue anyway since reports also won't print

    Can anyone offer guidance on this issue? I'm really stumped.

    #2
    You may be confusing "Run as Administrator" in Win10 and Administrator on Alpha.
    If you have set reasonable security, the 2 are different.
    Suggest setting Run as Administrator in the DT link.
    See our Hybrid Option here;
    https://hybridapps.example-software.com/


    Apologies to anyone I haven't managed to upset yet.
    You are held in a queue and I will get to you soon.

    Comment


      #3
      Originally posted by Ted Giles View Post
      You may be confusing "Run as Administrator" in Win10 and Administrator on Alpha.
      If you have set reasonable security, the 2 are different.
      Suggest setting Run as Administrator in the DT link.
      Are you referring to the desktop shortcut? If I run that as administrator (either by right-clicking or by setting it to always run as administrator), it of course requires the credentials of a domain admin in order to run it, which is a security issue.

      What I've found is that on the same PC and same Alpha install, printing will work fine when logged in as a domain administrator account, but have the above issues listed when logged in as a non-administrator account. Unless, of course, a non-administrator account right-clicks Alpha and selects "Run as Administrator", which isn't a workable solution for us since it requires admin credentials anyway.
      Last edited by laurenwb; 10-12-2022, 03:01 PM.

      Comment


        #4
        This happens everytime a windows 10 update takes place and is a real pain. It knocks out the registry settings for the printer and you have to reset to allow everyone to print. The app I had this issue on migrated to a browser based system about a year ago but found my notes!

        In the registry, HKEY_CURRENT_CONFIG -> Software -> "your printer driver name", right click on the entry and select Permissions..., make sure that the Users group has the Allow check box check for Full Control. Done​
        Glen Schild



        My Blog

        Comment


          #5
          Originally posted by glenschild View Post
          This happens everytime a windows 10 update takes place and is a real pain. It knocks out the registry settings for the printer and you have to reset to allow everyone to print. The app I had this issue on migrated to a browser based system about a year ago but found my notes!

          In the registry, HKEY_CURRENT_CONFIG -> Software -> "your printer driver name", right click on the entry and select Permissions..., make sure that the Users group has the Allow check box check for Full Control. Done​
          Unfortunately, that doesn't seem to have worked. I tried adding Users (which was <local pc name>\Users), and when that didn't work, I tried <domain>\<the specific non-admin user logged in>. Same errors as if I hadn't done anything, and that situation didn't change after a restart. THEN I tried adding "Everyone", still nothing.

          (That was editing AlphaFivePrinterV4, AlphaFivePrinterV4p5, and Amyuni Document Converter. After those didn't work I tried giving full control permission for everything in the Software folder as a last-ditch effort... still no dice.)
          Last edited by laurenwb; 10-12-2022, 04:17 PM.

          Comment


            #6
            Did you try this?

            image.png
            Last edited by Ronald Anusiewicz; 10-12-2022, 11:18 PM. Reason: I also seem to remmeber that their were issues if Alpha was installed in the Program Files folder. I always install Alpha in the root of the drive.
            Alpha 5 Version 11
            AA Build 2999, Build 4269, Current Build
            DBF's and MySql
            Desktop, Web on the Desktop and WEB

            Ron Anusiewicz

            Comment


              #7
              Lauren, you are not alone with these problems. We have all had them.
              The Administration issue is the easiest to fix.
              Using Ron''s image - which is what I was suggesting - you will be able to run the Alpha Engine within Windows as Administration. This allows access to all Alphington Engine requirements.
              It does NOT give users Admin privileges to the user's of the software.
              Alpha Runtime is pretty locked down and as this seems to be new to you, given it was showing up as a first post, if you need help, send a PM (click on a name in the thread and send a message) with a contact #. Depends where you are situated but most regulars on here are happy to help out.
              See our Hybrid Option here;
              https://hybridapps.example-software.com/


              Apologies to anyone I haven't managed to upset yet.
              You are held in a queue and I will get to you soon.

              Comment


                #8
                Originally posted by Ted Giles View Post
                Lauren, you are not alone with these problems. We have all had them.
                The Administration issue is the easiest to fix.
                Using Ron''s image - which is what I was suggesting - you will be able to run the Alpha Engine within Windows as Administration. This allows access to all Alphington Engine requirements.
                It does NOT give users Admin privileges to the user's of the software.
                Alpha Runtime is pretty locked down and as this seems to be new to you, given it was showing up as a first post, if you need help, send a PM (click on a name in the thread and send a message) with a contact #. Depends where you are situated but most regulars on here are happy to help out.
                I think I may be miscommunicating my issue. Yes, it's true that to have alpha "Run as Administrator" fixes all the printing problems. However, to my knowledge, there is no way to run a program as administrator without either being logged in as an administrator, or entering administrator credentials in the UAC prompt. Using the image from Ron above simply causes the UAC prompt to display requesting credentials when opening the shortcut. This is not a workable solution because my users are not administrators, and it's a security issue to give them administrator credentials to enter into the UAC every time they want to open Alpha.

                Additionally, I tried Ron's suggestion of installing directly in C:/, which unfortunately didn't change anything.

                Comment


                  #9
                  What are your permissions for the folder where your application files are stored?
                  Our application files are store in the folder C:\Maint and below is the security settings for that folder.
                  This is running on Windows server 2012.

                  image.png
                  Alpha 5 Version 11
                  AA Build 2999, Build 4269, Current Build
                  DBF's and MySql
                  Desktop, Web on the Desktop and WEB

                  Ron Anusiewicz

                  Comment


                    #10
                    Originally posted by Ronald Anusiewicz View Post
                    What are your permissions for the folder where your application files are stored?
                    Our application files are store in the folder C:\Maint and below is the security settings for that folder.
                    This is running on Windows server 2012.

                    image.png
                    Unfortunately not that one either, domain users have full control of the database folder on the fileserver, and just to be safe I also tried adding the individual user I'm testing this with to no avail..

                    Comment


                      #11
                      What version are you running?
                      You are just setting run as administration only for Alpha aren't you?
                      Not for everything, just Alpha.
                      Last edited by Ted Giles; 10-13-2022, 10:23 AM.
                      See our Hybrid Option here;
                      https://hybridapps.example-software.com/


                      Apologies to anyone I haven't managed to upset yet.
                      You are held in a queue and I will get to you soon.

                      Comment


                        #12
                        Originally posted by Ted Giles View Post
                        What version are you running?
                        You are just setting run as administration only for Alpha aren't you?
                        Not for everything, just Alpha.

                        Yes, only Alpha. Any time a non-administrator wants to run a program as administrator, they require administrator credentials to be entered in the UAC pop-up.


                        Something else has occured to me from troubleshooting this, though: I arrived here in 2019, and this organization has been using A5V11 since 2011. The entire time, the way they've used it is to have the database file stored on the local file server, and for each user to open that database file from alpha. But in these forums I keep hearing mention of having Alpha "running on the server". My intuition tells me that whatever that means, it's probably the "best practices" way of doing it, but has never been done here. The fact that we don't do it that way isn't the source of these problems (after all, it worked fine for a decade), but changing it may be the solution.

                        Is switching to that approach a good idea? Is there further documentation on how to do this around?

                        Comment


                          #13
                          There is a much later version of V11.
                          What is your current build?

                          I presume you are not running a Shadowed system with everything except the tables held locally?
                          See our Hybrid Option here;
                          https://hybridapps.example-software.com/


                          Apologies to anyone I haven't managed to upset yet.
                          You are held in a queue and I will get to you soon.

                          Comment


                            #14
                            Originally posted by Ted Giles View Post
                            There is a much later version of V11.
                            What is your current build?
                            Is there? According to https://downloads.alphasoftware.com/...chDownload.asp , "The current Alpha Five Version 11 build is 3381_4096", which is what I have installed according to the screenshot.

                            Comment


                              #15
                              Originally posted by Ted Giles View Post

                              I presume you are not running a Shadowed system with everything except the tables held locally?
                              No, the .adb file and tables are all in a folder on the fileserver.

                              Comment

                              Working...
                              X