Messages and errors
This page collects the messages that users see in more than one window, each tied to the action that shows it. Read the whole message first: it often says what to change. The look of the boxes and their buttons is in Messages and callouts, and the error window in Error windows. Messages that belong to one window are on the page of that window.
The database connection fails
These messages appear when the program opens a file and cannot connect to its database, whether at start-up, when you pick a file from the file list, or from the sign-in window.
| Message | Why it appears | What to do |
|---|---|---|
Connection Error: Incorrect user name or password (Please refer to Config Utility): [server].[database], and under it "Do you want to see error details?" | SQL Server refused the sign-in data saved for the server. | Click Yes to see the SQL Server text, or No. Then correct the user name, the password or the authentication mode in the Connect to Server window that follows. |
Connection Error: While opening database: [database], You might not have appropriate authority to open the database, or database is OFFLINE | The program reached the server, but the database is forbidden to your account, stopped, or deleted from the server. For a deleted database the same message appears with an Ok button and no question about the details. | Ask the SQL Server administrator to grant the account access, or to bring the database online. If it was deleted, restore it from a backup; see Restore a company file. |
Connection Error: when attempting to connect server: [server], While opening database: [database] | The program did not reach the server: the network, a stopped service, or a wrong name. | Check that SQL Server and the network are running, and correct the Server name in the next window. |
| Cannot connect to SQL Server: Microsoft OLE DB Driver 19 for SQL Server is not installed on this computer. Install it from the program setup or download it from Microsoft, then run the program again. | The program works through this driver and the computer does not have it. | Click Download the driver to have the browser download the installer from Microsoft, or Open the download page, then install the driver and start alameen again. Close leaves the message. |
After the first three messages the Connect to Server window appears; it is explained in Choose the default SQL server. Correct the settings and click Connect so that the program tries again. If you close it, the file does not open.
If the connection drops while you work, there is no message for that case: the command you run fails, and the program usually shows the error that SQL Server returned in the Error window. Check the network and that the service is running, then close the file and open it again.
You do not have permission
These appear when you ask for something your level in Users Management does not allow. A user does not change these permissions alone.
| Message | When it appears | What to do |
|---|---|---|
| You don't have the appropriate authority to perform this operation | You open, save, edit or delete something where your level is too low. | Ask the system administrator to raise the permission that fits the window you opened. |
| You don't have the authority to save in the specified security level | You save a card or an operation at a security level above your permission. | Save at a level within yours, or ask to have it raised. |
| You must have full permission, with the previous message under it | You open an administrative window, such as Share Settings, without full permissions. | Use a user who has them. |
| Sorry! You don't have the permission to post, or to generate entry, or to post entry | You use the post or generate-entry command on a record where your permission level is lower. | Ask for the permission. |
You can see your own permissions with the system administrator in Users Management.
The operation date is before the lock date or outside the period
The invoice, voucher and entry windows, and others, check the date when you enter it or save. Each message has two lines: what happened, then "Entered Date" with the date that it broke, and some end with a hint about where to change it.
| Message | Why it appears | What to do |
|---|---|---|
| Date is prior to period beginning date, then "Can't continue" | The operation date is before the opening date of the file. | Enter a date within the file period. To change the period: File > Program Options > Default Values. |
| Date is after ending date, then "Can't continue" | The operation date is after the end of the file period. | Same. |
| Cannot continue! The date is before bills lock date., then "Can't continue" or "Do you want to continue?" | The date is before File's Operations Lock Date. A user with full permissions gets the question with Yes and No, unless the option Force lock date on full authority users is on. Anyone else gets "Can't continue" and the work stops. | Choose a date after the lock date. The administrator can go on with Yes. |
| The Date is before Bills Lock Date., then "Can't continue" or "Do you want to continue?" | The date is before the file's Bills Lock Date, and its tick in Default Values is on. The question goes to a user with full permissions unless the option Force lock date on full authority users is on. | Choose a date after the lock date, or change it in Default Values. |
| The order date is before the orders fixing date | In an order window: the date is before the file's Orders Lock Date, and its tick is on. The same rule: the administrator is asked, others stop. | Choose a date after the lock date. |
| The entered date is prior to the operations' lock date of the current user, with a hint pointing to "Tools menu-Management-Lock Operations by Users" under it | The operation date is before your own lock date, and locking by users is on in the file. The same rule: the administrator is asked, everyone else stops. | Ask the administrator to change your lock date in Lock Operations by Users. |
| Operation date is before the type fixing date, or: The Date is before Bills Lock Date. Do you want to continue? | The invoice date is older than the invoice type allows, by a number of days or by a lock date in the type. An administrator who is not forced gets the question; everyone else gets the first message. | Change the invoice date, or ask the administrator to change the type setting. |
| The date is before today's date, Do you want to continue? | The operation date is before today and the warning Date is before today is on in the Warnings page. | Click Yes if the date is intended. |
| The date is after today's date, Do you want to continue? | The operation date is after today. | Click Yes if the date is intended. |
The opening, ending and lock dates are in Set default values, and so is the option Force lock date on full authority users.
A code or value is duplicated
| Message | When it appears | What to do |
|---|---|---|
| Invalid value, and under it: Code is used in another card. Card can't be saved! | You save a material, group, warehouse, tax or discount card with a code that another card uses. In the material card it is followed by what identifies the card that uses the code. It appears as a balloon beside the field or in a message box, depending on the option Use pop-up messages. | Change the code, or open the other card and edit it. |
| Serial number(s) already exists in warehouse, and the number under it | You save an invoice that holds a serial number that is already in stock. | Correct the number or remove it from the invoice. |
A card is in use and cannot be deleted
The program refuses to delete a card that other data depends on. The message says where the card is used. Do not repeat the attempt; remove the link first.
| Message | When it appears |
|---|---|
| Material is used in a bill | You delete a material card that appears in an invoice. |
| Cannot delete the material, it is used in POS / restaurants | You delete a material linked to points of sale or restaurants. |
| User is linked with operations in bills and entries. User can't be deleted | You delete a user who performed operations. |
| The warehouse is used in assembly warehouse card: … Cannot be deleted! | You delete a warehouse that appears in an assembly warehouse. |
| The card can't be deleted .It is used in a budget | You delete a cost center that appears in a budget. |
| Destination cannot be deleted as it's used by commercial papers cards | You delete a bank destination that commercial papers use. |
| Commercial Paper type is used and can't be deleted! | You delete a commercial paper form that has papers. |
| Bill is generated from another document, can't delete bill | You delete an invoice that came from another document, such as an order. Delete the source document or deal with the link first. |
Another user saves the same data
There is no single message that says another user changed or deleted a record, and what you see differs by window. If two users try to save overlapping data together, SQL Server may refuse one of the two commands. In invoices and orders the program repeats the save by itself. In account movement statements it shows the Error window with the SQL Server message and the state 40001, and repeats the attempt up to ten times. If you see that window again and again, click Close each time, wait a moment, and repeat the request after your colleague finishes.
A database error
The program first tries to turn the errors it knows, such as a rule broken in a card or an invoice, into a message in your language; those are the messages in the sections above. What it does not know it shows in an Error window with the original SQL Server message, which may be in the language of the server.
What to do:
- Read the message at the top of the window and the Summary section. It gives the state and number of the error, and sometimes a possible reason.
- If one of these possible reasons appears, follow it:
| What Possible Reasons shows | What it means |
|---|---|
| Table may have no primary key. Writing to table that was open as read-only | The save failed, and the likely cause is that the table has no primary key or was opened read-only. Report it to technical support. |
| Not enough disk space, or using (Personal or Desktop) edition of database, Use (Standard or Enterprise) Edition | The disk or the log file on the server is full, or the file runs on a light edition of SQL Server. Free space or move the file to a higher edition. |
- Click Details, then the copy button, note the session code, and send what you copied to technical support. If support tickets are available, click Report this error. What the details contain is in Error windows.
- Do not repeat the command again and again. First check what was saved and what was not: open the record or the list and review it.
Related
This page applies to alameen ERP 10, version 10.1.79.764.