Skip to main content

Sign in to a company file

You open a company file by signing in to it with a user name and password. The Log in window appears when you choose a file from the recent files list. Before you enter, the program may ask you to update the file or to change your password.

Before you begin​

  • The file must be in the recent files list. If it is not, open it with File > Home > Open File or Open Database. See Choose the default SQL server.
  • The SQL Server that holds the file must be running and reachable from this computer.
  • Know your user name and password. The file administrator defines them. The first user was defined by whoever created the file in Create a new company file.

Steps​

Sign in​

  1. Click File > Home, then click the file name in the list. You can also select it with the arrow keys and press Enter.

    If windows are open, the program first asks: "All opened windows must be closed before performing this operation. Are you sure you want to do this?". Click Yes to close them, or No to cancel signing in.

    If the list has only one file, the Log in window appears by itself when the program starts.

    If the file's server cannot be reached, the message "Database Connection Failed" appears and the window does not open. See If something goes wrong.

  2. Wait while the program checks the server. The top of the window shows the descriptive name of the file with the Server and the Database.

    If the check takes more than a moment, the text "Connecting to server ..." appears. If the connection fails or the database does not exist, a message explains why, with a Connect button. Click it to correct the server settings. The program then checks again.

  3. If the Database Update page appears instead of the login page, the file belongs to an older version. Complete Database update, then come back here.

  4. Enter the User name. The program suggests the name of the last user who signed in to this file from this computer. If the name is filled in, the focus is on the Password field.

  5. Enter the Password.

    The login window with the file name, server, database, and the user name and password fields

  6. Click Ok or press Enter.

    A progress bar appears with the text "Logging in". The fields are disabled until it ends. The Change Password page may appear before the sign-in completes.

  7. If the file information page appears, read it and click Close. The page shows the file name, the server, the database, and a list of file information grouped in sections. If you do not want to see it at every sign-in, clear Always show this information on file open.

To cancel, click Cancel or press Esc.

Database update​

If the file belongs to an older version of the program, the Database Update page appears. It shows the file name, the server and the database, and a table that compares the Program Version and the Database Version of the Database and of the Program. The program asks: "This file belongs to an older version of alameen and it needs to be upgraded. Are you sure to upgrade it now?".

warning

After the update you cannot open the file with a version of the program older than this one. The operation can take a long time, depending on the size of the file. Take a backup before you start. See Back up a company file.

  1. Read the warnings, if any appear:

    • If the file is a publisher in the replication system, all subscribers will be deleted. Make sure the last synchronization finished for all of them.
    • If the file is a subscriber, it will be separated from the publisher database.
  2. Click Update.

    If the server has a program system administrator, the page "Please enter system administrator name and password" appears. Enter the System administrator and the Password, then click Ok. The update starts after that. If other users are connected to the file, the message "Database is Opened By Users" appears with the name, computer and program of each, then "Please check that all users logged out. Do you want to retry?". Ask them to leave, then click Yes to retry. No stops the update and closes the window.

  3. Wait. A progress bar and a line of text show the stage. Do not close the program.

    On success the login page returns with the message "Database updated successfully.". Continue signing in from step 4 above.

If the update fails, an error message with its details appears and the window closes. The general message is "An error occurred while updating the database".

The recent files list marks files that need an update with the hint "File needs update". A file newer than your program shows the message "This file belongs to a newer version of Al-Ameen, and can't be opened.". To update several files at once see Update several company files at once.

Forced password change​

After you enter the password, the Change Password page may appear instead of opening the file. This happens in two cases:

  • Your password does not meet the password rules of this file. The message "Password does not match password policy" appears, with an information icon you click to see the rules (no icon when the page opened because the password expired; see the table below).
  • Your password has expired. The message "Password expired" appears.
  1. Enter the New password.
  2. Enter the same password in Confirm password.
  3. Click Ok.

The program saves the new password and completes the sign-in with it. If it refuses the password, one of the messages in If something goes wrong appears and the page stays open.

The file administrator sets the password rules in File > Program Options > Save:

OptionEffect
Force user to use passwordTurns the password check on. The password must then have at least 3 characters, with at least one digit and one non-digit character.
Enforce complex passwordThe password must have at least 8 characters, English lowercase and uppercase letters, a digit, and a symbol from @ ! ? # $ % ^ & *. Arabic letters are not accepted.
Enforce password expiration ( 360 day)A password expires after 360 days, then you are asked to change it.
Prevent password to be repeated ( latest 3 passwords)The program does not accept one of the last three passwords.

The last three options work only if the first one is on. All are off in a new file, so a new file does not ask for a password change.

To change your password at any time after you sign in, see Change your password.

Result​

The file opens, the File tab closes and the desktop appears. The program remembers the user name to suggest it next time, and moves the file to the top of the recent files list, after any pinned files. The status bar shows the server, the database and the user.

If something goes wrong​

A sign-in error message: Incorrect password

Sign-in messages​

MessageWhy it appearsWhat to do
Database Connection FailedThe file's server could not be reached when you clicked the file name in the list.Check the network and that the server is running. Change the server in Connect to Server if needed.
... database does not exists on ... serverThe file's database was deleted or moved, or the file points to another server.Restore the database from a backup, or click Connect and choose the right server.
Please enter the nameYou left User name empty.Enter the user name.
Incorrect user nameThe user name does not exist in the file.Check the spelling. If it is right, ask the file administrator.
Incorrect passwordThe password does not match the user.Type it again. Check the keyboard language and the letter case.
Inactive User, with "Access is denied, the user is inactive" under itThe user is disabled in the file.Ask the file administrator to activate the user.
File is locked, with "The file is locked, cannot continue!" under itThe file was locked by the replication system, and you are not an administrator.Ask an administrator user to sign in and remove the lock.
File is locked, with "The file is locked, do you want to unlock it?" under itThe file was locked by the replication system, and you are an administrator.Click Yes to remove the lock and continue, or No to stop signing in.
The files are in exclusive mode, you can't log on to the files now.The file was opened in exclusive mode, which stops other users from signing in.Wait until the person using exclusive mode finishes.
This file belongs to a newer version of Al-Ameen, and can't be opened.The file was updated by a newer version than your program.Install the newer version of the program.
Your Microsoft SQL Server version is not supportedThe server is older than 2019.Use a server of version 2019 or later.
The current version is running on Microsoft SQL Server 2019 or laterThe database could not be opened, for example the connection account has no access to it.Ask the SQL Server administrator to give the account access.
Descriptive file not found: with the pathA desktop shortcut or command line points to a description file that is not there.Open the file with Open Database.
Descriptive file is corruptedA hint beside the file in the list: its description file is damaged.Open the database with Open Database to create a new description file.
Cannot open the file, with "Your Key does not enable you to open the file, opening this file requires ... feature on the Key." under itThe file uses a feature that is not in your licence, such as materials segmentation or a country's tax system. The message names the feature.Use a licence that includes the feature, or contact your distributor.
Cannot continue! the file is related to Replication system and the current key does not support it.The file is part of the replication system and your licence does not include it.Use a licence that includes replication.
These files can not be opened in the trail version of the program.The full version created the file, or the demo file was later opened in the full version on this computer.Open the file with the full version. See demo limits.
The database server runs a version of SQL Server older than SQL Server 2022...A warning shown at every successful sign-in when the server version is 2019.Click Ok and continue. Plan to upgrade the server, because future versions will require SQL Server 2022.
This is a limited demo version...The demo warning, shown at every sign-in.Click Ok.

Some messages always appear in English, such as "This File Requires 'Work On Remote SQL Server' Feature In Ameen Key" (your licence does not allow a file on a remote server), "Error opening database" and "Error reading server options". Ask the SQL Server administrator or your distributor for help when one appears.

Change password messages​

MessageWhy it appearsWhat to do
Password and confirmation do not matchNew password and Confirm password differ.Type both the same way.
Password has been used before, please enter another oneThe password is one of your last three.Choose a new one.
Invalid passwordThe password does not meet the rules.Click the information icon to read the rules, and choose a password that meets them.

Database update messages​

MessageWhy it appearsWhat to do
No such user or groupThe system administrator name is wrong.Enter the system administrator name defined on the server.
Invalid passwordThe system administrator password is wrong.Type it again.
An error occurred while updating the databaseThe update failed. The error details appear under it.Send the details to technical support. The file stays at its old version, so you can restore a backup.

This page applies to alameen ERP 10, version 10.1.79.764.