Add Database Server
This card registers a SQL Server so that it appears in the Server Name list when you create a subscriber. The distributor's server is registered by the Settings wizard itself (Replication wizards). For the general picture read Understanding replication; the window this card opens from is Replication System.
Opening the window
- From Replication System: click New Server in the Add group of the Main page (The ribbon). The program refreshes the tree after you close the card.
- The button does no other check: it is always enabled while the window is open.
The window title is Add Database Server. Its size is fixed.
The navigator
At the top of the card is a navigator between the saved servers: First, Previous, Next and Last buttons and a number box. Type a number and press Enter to go to it. The buttons are enabled according to the number of saved servers and where you are among them. The first server (number 1) is the one the Settings wizard registered. The buttons are explained in Record navigator.
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Server Name | The name of the SQL Server that will hold the subscriber file. | Yes | An editable list that the program fills in the background with the servers it finds on the network (a wait cursor shows over the field until it finishes). Pick one or type the name, such as SRV02 or SRV02\SQLEXPRESS. It cannot repeat among the saved servers. |
| Description | The name that shows in the replication lists and in the Providers tree. | Yes | Text. It cannot repeat. |
| Windows Authentication | A visible, disabled option. | No | It cannot be selected. |
| SQL Authentication | The option that is always selected. | No | It needs User Name and Password. |
| User Name | The SQL Server user for signing in to the server. | With SQL authentication | Disabled when SQL authentication is not selected. |
| Password | The user's password. | With SQL authentication | Shown masked, and saved encrypted. |
Buttons
| Button | What it does |
|---|---|
| Add | Saves the server as a new record after the checks (Messages). The program registers the server on the publisher's server as a linked server if it is not registered yet. After saving, "Successfully added" appears and the card moves to a new empty record. |
| Edit | Saves your changes to the displayed record after the same checks. "Successfully completed" appears afterwards. Enabled when a saved record is displayed. |
| Delete | Deletes the displayed record after the confirmation question. Enabled when a saved record is displayed. |
| New | Clears the fields for a new record numbered after the last one. If you have unsaved changes, the program asks. |
| Close | Closes the card. It becomes Cancel after any change, and the program then asks whether to ignore the entries. |
Messages
| Message | When it appears | What to do |
|---|---|---|
| Field is required | Server Name or Description is empty on Add or Edit. It shows on the field. | Type the value. |
| Incorrect windows username or password | The connection failed with the server name, user name and password you typed (the text says Windows even when the mode is SQL). | Correct the data. |
| Server already exists | The server name is registered in another record. | Select its record in the navigator, or type another name. |
| Description cannot be duplicated | The description is used in another record. | Type another description. |
| Successfully added | The record was Added. | Nothing. |
| Successfully completed | Edit or Delete of the record succeeded. | Nothing. |
| Cannot delete! server is linked to replication system. | You tried to Delete server number 1 (the distributor's server), or the program could not read the distribution database. | This server is not deleted. |
| Are you sure you want to complete saving? | You clicked Add and the warning option On save is on. | Confirm or cancel. |
| Are you sure you want to save changes ? | You clicked Edit and the warning option On modify is on. | Confirm or cancel. |
| Are you sure you want to delete? | You clicked Delete. | Confirm or cancel. |
| Are you sure you want to ignore information entered here and move into a new record? | You clicked New, or moved on after Add, with changes in the card, and the warning option On cancel is on. | Confirm to clear the card, or cancel. |
| Do you want to ignore the inputs and close the window? | You closed the card after a change and the warning option On cancel is on. | Close Window or Cancel. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.