Skip to main content

Login window

One fixed-size window does several jobs on a company file: signing in to it, updating it, renaming it, deleting it, rebuilding its indexes and exporting its structure. Its title and page change with the job. The steps for signing in are in Sign in to a company file. The steps for the other jobs are in Rename, delete or create a shortcut for a recent file.

Opening the window​

TitleFirst page after the server checkHow you reach it
Log inSign-inClick a file name on the Home page, open a file with Open File or Open Database, or run a desktop shortcut or a command line that names a file. It also appears by itself after you create or restore a file.
RenameRenameRight-click menu of the file, item Rename. Also the Rename button on File tab: Info for the open file.
DeleteSign-in with the delete headingItem Delete.
IndexingIndexingItem Indexing, if the file is not a publisher or subscriber in replication. Also the Indexing button on File tab: Info for the open file.
Export SchemaExport schemaItem Export Schema. Also the Export Schema button on File tab: Info for the open file.
Database UpdateUpdateWhen you sign in to a file that is older than the program, the window changes its title to Database Update and shows the update page. The window also opens with this title from a maintenance command that updates the database of the open file.

You cannot maximize or minimize the window. Esc or Cancel closes it, but it cannot be closed while work is running. In the subscription edition, if you close it while no file is open, the program asks whether you want to exit the program.

File bar and footer buttons​

Every page starts with the file data: its descriptive name in large type, then Server: and Database:. The footer has two buttons.

ButtonWhat it does
OkRuns the job of the page. Its text changes to Update on the update page. Enter does the same when the cursor is in a text box.
CancelCloses the window. Disabled while work is running. Its text changes to Close when an update finishes successfully in the Database Update window, and on the file information page.

Login window on the sign-in page with the file name, server, database and the user name and password boxes

Server check​

The window first checks the server and that the database of the file exists on it. Then it goes to the page of the job. If the check takes more than a moment, the text "Connecting to server …" shows with the server name and a progress bar. If the check fails, the reason shows instead, with an icon, and the Connect button appears. Click it to open the Connect to Server window and fix the settings. The program then checks again. On the page after a failure, Ok is disabled.

MessageWhen it appears
The reason the server could not be reached, with a descriptionThe server is stopped, unreachable, or older than 2019.
… database does not exists on … serverThe database is not on the server.

Sign-in page​

It appears in the Log in mode. It also appears with the Delete title and the changes shown after the table.

FieldDescriptionRequiredValues and rules
User nameThe user who signs in to the file.YesThe program fills it with the last user who signed in to this file from this computer under the same Windows account, and then the focus is on Password. If you leave it empty, "Please enter the name" appears.
PasswordThe password of the user.NoA button in the box shows the characters.

The text "Please enter your user name and password to open the file" shows above the boxes. When you click Ok, "Logging in" and a progress bar appear and the boxes are disabled. If the shortcut or command line carried the user name and password, the program signs in without showing the boxes.

In the Delete mode the page carries the question "Database will be deleted permanently from server. Are you sure you want to delete the database?" and under it the text "Please enter your credentials to delete the file". The user you enter must be an administrator in the company file itself. The program asks no second confirmation after Ok. It deletes the database, then the folder that holds the description file together with everything in it, then removes the file from the list.

Change password page​

It appears instead of opening the file when the password does not meet the rules of the file or has expired. The title is Change Password. Below it is the page message: "Password does not match password policy" or "Password expired". With the first message there is an information icon: click it to see the rules in a small window. For the rules and their options see Sign in to a company file.

FieldDescriptionRequiredValues and rules
New passwordThe new password.YesThe program checks it against the rules of the file when you click Ok.
Confirm passwordThe same password.YesMust match the first one.

When you click Ok the program saves the password and continues signing in with it. If it is refused, a message with the title "Change Password" appears and the page stays.

System administrator page​

It appears before an update, rename or delete if the program server has a system administrator. The page heading is "Please enter system administrator name and password".

FieldDescriptionRequiredValues and rules
System administratorThe name of the system administrator defined on the server.Yes
PasswordHis password.YesIf wrong, a message appears and the cursor goes to the wrong box.

After the details are accepted the job you were doing runs at once. The system administrator is set in File tab: Info. See also Add or remove a system administrator.

Database update page​

It appears when you click a file that needs an update. It shows the question "This file belongs to an older version of alameen and it needs to be upgraded. Are you sure to upgrade it now?" and under it the warning "Once it's upgraded, it can't be opened in any version that is older than this version (to which it's upgraded). This operation might take long time depending on the size of the file.". A yellow box shows an extra warning if the file is a publisher ("The current file is publisher, so all subscribers will be deleted …") or a subscriber ("The current file is subscriber, so it will be separated from publisher database"). In the middle is the version comparison table: the columns Database and Program, and the rows Program Version and Database Version.

When you click Update: if the server has a system administrator, you go to the system administrator page. If a file is open, the program closes it first and writes "Closing file...". Text that describes the current stage and a progress bar show. The update runs in stages, and each stage is recorded in the update log inside the file.

  • On success, "Database updated successfully." shows in green and the window returns to the sign-in page with the Log in title. In the window titled Database Update, only the Close button stays.
  • On failure the window closes. If the update reports an error, it shows first in an error window. If the update stops with an unexpected error, "An error occurred while updating the database" appears with the details of the error under it.

For the warnings during an update of publisher and subscriber files, and for the wizard that updates several files at once, see Update Multiple Files.

Rename page​

The page heading is "Change Database Description Name". Under it is the explanation: you can give the file a descriptive name with no limit except 100 characters, for example "Company Files for Year …" with the current year. It also says "Only the administrator has the authority to change the file name."

Rename page with the new name, administrator name and password boxes

FieldDescriptionRequiredValues and rules
File new nameThe new descriptive name.YesUp to 100 characters. The first value is the current name: the Arabic name when you work in an Arabic interface, the Latin name otherwise. If it is empty, the hint "Name can't be empty." shows by the box.
Administrator nameA user with the administrator permission in this file.YesThe program fills it with the last user who signed in to the file.
PasswordHis password.Depends on the user

The job does not change the name of the description file or the database name on the server. It changes the descriptive name only. A wrong user or password gives a message. If saving fails, "An error occurred while renaming the file." appears and the window closes. On success the window closes and the names change in the list and in the main window title if the file is open.

Indexing page​

It shows the question "Are you sure to Re-index files?" and explains that indexes hold no information that is not in the file, but they speed up search. It asks for no details. When you click Ok, a progress bar with a percentage appears and the window closes at the end. If it fails, "An error occurred while reindexing the database." appears and the window closes.

Export schema page​

The heading is "Export Database Schema". The text explains that the job extracts the database structure — tables, indexes, functions, stored procedures and other objects — compresses it into a file and sends it to the company servers, and that no entered data such as bills, accounts or entries is sent.

FieldDescriptionRequiredValues and rules
DatabaseThe database name of the file.—Display only.
NotesAnything useful to technical support.NoMulti-line text. It is sent with the file.

When you click Ok the stages show: "Exporting schema..." with a percentage, then "Creating the file...", then "Sending the file...". On success the window closes. On failure the error text appears and the page stays so you can try again.

File information page​

It appears after a successful sign-in if the option "Show file info when login" is on. It is on by default, and the program keeps it for each Windows user. The page shows a list of file information in sections that expand and collapse. Some items are paths: click a path to open its folder in Windows. At the bottom is the box Always show this information on file open, ticked when the page appears. If you clear it, the page does not appear at the next sign-in and the program closes the window and the Home page right after signing in. The only button is Close. When you click it, the window and the Home page close and the main window shows.

Messages​

Messages that the window shows itself:

MessageWhen it appears
Please enter the nameYou left User name empty on the sign-in page.
Name can't be empty.You left File new name empty.
Password and confirmation do not matchNew password and Confirm password differ.
Password has been used before, please enter another oneThe password is one of the last three the user used, when blocking repeats is on.
Invalid passwordThe password does not meet the rules of the file.
No such user or groupThe system administrator name is wrong.
Invalid passwordThe system administrator password is wrong.
Incorrect user nameIn sign-in, delete or rename: the name is not in the file, or in delete and rename it is not an administrator.
Incorrect passwordThe password does not match the user.
An error occurred while renaming the file.Saving the name failed.
An error occurred while deleting the database.The delete failed. A message that gives the reason appears before it.
Can't delete open files !The database is in use now.
Can't delete the file! it is used in the replication systemThe file is a publisher or subscriber.
An error occurred while reindexing the database.Indexing failed.
An error occurred while updating the databaseThe update stopped with an unexpected error.
Database is Opened By UsersOther users are connected to the file during an update. The message lists each one with login name, computer and program, and asks "Please check that all users logged out. Do you want to retry?". Yes checks again. No stops the update and closes the window.

Messages that appear during sign-in when the file is checked:

MessageWhen it appears
This file belongs to a newer version of Al-Ameen, and can't be opened.The file was updated by a newer program.
Inactive UserThe user is disabled. Under it: "Access is denied, the user is inactive".
File is lockedThe file was locked in replication. Under it: "The file is locked, cannot continue!" for a user who is not an administrator. For an administrator the question is "The file is locked, do you want to unlock it?" with the buttons Yes and No.
The files are in exclusive mode, you can't log on to the files now.The file is open in the exclusive mode.
The current version is running on Microsoft SQL Server 2019 or laterThe database of the file could not be opened with the connection account.
Cannot continue! the file is related to Replication system and the current key does not support it.The file is in replication and your licence does not include it.
Cannot open the file, with "Your Key does not enable you to open the file, opening this file requires … feature on the Key."The file uses a feature that your licence does not include: materials segmentation or a country tax system.
The file contains number of currencies more than the allowed number in Protection Key. Cannot open the file!A licence made for Syria, and the file holds more currencies than it allows.
These files can not be opened in the trail version of the program.In the demo version: the full version created the file, or the number of entries, bills or accounts passed the demo limit.
This is a limited demo version …In the demo version, at every sign-in.
The database server runs a version of SQL Server older than SQL Server 2022 …After sign-in, if the server is version 2019.

The cause of each message and what to do are in Sign-in messages, Change password messages and Database update messages.

This page applies to alameen ERP 10, version 10.1.79.764.