Error windows
When a command fails in the database and the program does not recognise the failure, or an unexpected error occurs, alameen ERP 10 shows an Error window. It holds the error message in red, detail sections for technical support, and buttons to copy, send and print the details. This page explains everything in it. Why the common errors appear and what to do about them is in Messages and errors.
Opening the window
The window appears by itself in these cases:
- A database error: the program first handles the errors it knows, such as a rule broken in a card or an invoice, and shows an understandable message instead of this window. If it does not know the error, it shows it here together with the SQL Server message.
- A failure in the maintenance wizard, or while creating a file or a database.
- Other unexpected errors that parts of the program show in the same way.
It has no command in the menus. See what to do when it appears in Messages and errors.
The message
At the top is a read-only box with the error text in red. A database error message is shown as SQL Server sent it, so it may be in the language of the server rather than the language of the program. Rest the pointer on the message to show a small copy button that copies the message alone.
Sections
Below the message is a list of collapsible sections. Only the first section is open when the window appears; the others appear after you click Details. Rest the pointer on a text section to show a copy button for it.
| Section | What it holds |
|---|---|
| Summary | For a database error: the state (State), the error number (Number), the server's own number (Native Error), and possible reasons (Possible Reasons) when there are any. For other errors: Source, HelpLink and HResult. |
| Data | Extra values that the error carries, when it has any. Only for errors that are not database errors. |
| SQL Statement | The statement that failed. |
| Stack Trace | The chain of calls that led to the error. For technical support. |
| More Sql Errors | Further errors for the same statement, when more than one occurred, one item for each (Error 1, Error 2 and so on). |
| Inner Exception | For errors that are not database errors, when another error caused this one: its message and its own Summary, Data and Stack Trace. |
| Program | The Key item, the version number and date, and the database version number. |
| Computer | Application and machine identifiers, computer name, user name and Windows user name, memory, operating system, monitor and processor. |
| Sql Server | Server name, product and version, language, collation, platform, operating system version, memory and number of processors. |
Section names and their items appear in English in every language, because they are meant for technical support. The last sections hold data that identifies your computer and your account, so know what you copy before you send it outside your organisation.
Session code
At the bottom right of the window is a code in small faded type that identifies the current run of the program. It appears in this window and in the error message boxes. Quote it when you contact technical support so that your message can be matched with what the program recorded.
Buttons
| Button | What it does |
|---|---|
| Copy button in the title bar | Copies the message and all sections to the clipboard, open or hidden. |
| Send EMail | Sends the message text and all sections by e-mail, from the e-mail account set up in the program, to the technical support address of the producing company. The program shows no success message, and none if sending fails. It needs the e-mail set up; see Share settings. |
| Print... | Prints the message and all sections. |
| Report this error | Opens a new ticket window in the support panel, titled with the message and carrying all sections as details, including the computer name, the program user, the Windows user and the database server name, and possibly the query with its values; they are sent even if Include diagnostics is off. Read the description and delete what you do not want to send before Submit. The error window stays open behind the ticket window. Shown only when the tickets service is available. Continue in Open a support ticket. |
| Details | Shows the remaining sections. It is disabled after you click it. |
| Help | Opens in the browser the help page for this error. Shown only for errors that have a page. |
| Close | Closes the window. |
You can maximise the window and resize it.
The older database error window
The program files contain an older window titled Database Error, with the buttons Ok, Copy, Send Mail, print, Exit Program, More and Audit. The current database error handler does not show it; it shows the Error window described above.
Related
This page applies to alameen ERP 10, version 10.1.79.764.