How to setup AMG server on Microsoft SQL Server

 

To setup AMG Attendance System Server on MSSQL Server please follow these steps:
  1. Download this folder to the computer on which MSSQL Server is installed.
  2. Unzip the folder. It should contain two files ("AMG.Shared.dll" and "SQLServerSetup.exe").
  3. Run "SQLServerSetup.exe" file. As a result you will see the following window:
    Setup AMG server on MS SQL Server Image 1
  4. Click on Next button. As a result, you will be navigated to "Connect to Server" step.
    Setup AMG server on MS SQL Server Image 2
  5. From the "Choose Server" combo box choose the server to which you want to connect and create the database. If you don't see the server name in the "Choose Server" combo box, type its name manually (e.g  PROGRAMMER1/SQLEXPRESS). Setup AMG server on MS SQL Server Image 3
  6. Configure the authentication part according to MSSQL Server settings.
  7. Click on the Next button. As a result, you will be navigated to the "Create Database Structure" step.
    Setup AMG server on MS SQL Server Image 4
  8. Do NOT change anything in Database Creation Script part. Click on Next button.
  9. If Database is successfully created, in the "Execution results" section you will see which rows are affected and "All commands executed successfully." message:

Setup AMG server on MS SQL Server Image 5

 10. Click on Next button. As a result you will be navigated to "Set Default Values" step.

 Setup AMG server on MS SQL Server Image 6

  11. Do NOT change anything in Database default values script part. Click on Next button.

  12. If default values are successfully created, in the "Execution results" section you will see which rows are affected and "All commands executed successfully." message:

 Setup AMG server on MS SQL Server Image 7

13. Click on Next button. As a result you will be navigated to "Completed" step.

 Setup AMG server on MS SQL Server Image 8

  14. Click Finish button to finish database setup process. 

 
 
Setup AMG server on MS SQL Server Image 9 NOTES:
  1. When connecting to a server you get the following message: "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)", then you haven't specified the SQL Server name in "Choose Server" drop box (e.g. "PROGRAMMER1\" instead of "PROGRAMMER1\SQLEXPRESS)").
  2. When connecting to a server you get the following message: "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)", then you have specified incorrect SQL Server name in "Choose Server" drop box (e.g. "PROGRAMMER1\SQL" instead of "PROGRAMMER1\SQLEXPRESS)").