Skip to main content

Update files

The Upgrade Database item of Files Maintenance opens the update page of the login window for the open file. That file is open, so it is already at the current version of the program, because alameen ERP 10 does not open an older file before it is updated. To update an old file after you install a newer version, do not use this maintenance. Follow Check for program updates or Update several files at once. This page explains how to run the item and what it shows. The fields and messages are in Update files and shrink database.

Before you begin​

  • Take a backup of the file (Back up a company file). The program does not take a backup before the update, and it does not return the file to the old version afterward.
  • Ask the other users to leave the file before you start.
  • You need the Files Maintenance permission, which guards the Files Maintenance window (Run files maintenance). The program checks no permission of its own for this operation when you run it from the window. Its desktop tile shows only for a user who has a permission of the same name on the Operations page of Users Management.
  • Have the system administrator name and password ready if one is defined on the SQL Server: the window asks for them (Add or remove a system administrator).

Steps​

  1. Click File, then Tools, then the large part of the Files Maintenance button. If a message asks you to close the open windows, click Yes.

  2. In the list, click Upgrade Database, then click Run. The login window opens with the title Database Update, not a maintenance wizard.

  3. Read the warning and the table of the program version and the database version. If the file is at the version of the program, the update question does not show. If the file is a publisher or a subscriber in the replication system, a warning shows in a yellow frame. Read it before you continue.

  4. Click Update. If the window asks for System administrator and Password, enter them and click Ok.

  5. Wait. The program shows the current stage and a progress bar. It does not close the open file.

  6. When "Database updated successfully." appears, click Close. You return to the Files Maintenance window.

  7. Click Close so that the program releases the file.

Result​

The window ends with the message "Database updated successfully." and only the Close button, and the program records the stages of the update in the update log inside the file. It does not go back to the login page as it does when you update an old file. The details of the page are in The login window.

If something goes wrong​

MessageWhy it appearsWhat to do
Database is Opened By UsersThe program found other connections to the database of the file: from another computer, or from another program or window process on this computer. The message lists each connection by its SQL Server login name, the computer and the program, which are not the names of the program's users. Any one such connection stops the update.Ask them to leave, then click Yes to try again, or click No to cancel the update.
An error occurred while updating the databaseThe update stopped with an error. The window closes.Read the error details and try again. If it repeats, contact technical support.
Other messagesThe general update messages.See Messages of the login window and Check for program updates.

This page applies to alameen ERP 10, version 10.1.79.764.