Install the SQL Databases for Advance Steel on a Server

Learn the steps to install SQL databases for Advance Steel on a shared location.

  1. Install SQL Server Express 2019 on the computer where you will have the shared databases.
    1. Access Microsoft® SQL Server® 2019 Express.
    2. Click the Download button.
    3. Execute SQLServer2019-SSEI-Expr.exe.
  2. During installation, when creating the new instance in the Instance Configuration section, give it a meaningful name, such as "ADVANCESTEEL" in the Named instance field.
    1. After you install SQL Server Express and create the "ADVANCESTEEL" SQL instance, verify that the SQL server is configured to be accessible through a network. Start with these steps:
      1. Open the SQL Server Configuration Manager (type " SQLServerManager15.msc" in the Windows Start Search field).
      2. Go to SQL Server Network Configuration Protocols for ADVANCESTEEL. On the right side of the window, check if TCP/IP is enabled. If it is disabled, right-click and select Enable from the contextual menu.


      3. Restart the SQL Service.


      4. Verify that the firewall ports for SQL communications are open.
        Note: You may want to discuss this with the IT person, to add the necessary rules in Windows Firewall.
  3. Install Microsoft SQL Server 2019 Management Studio on the same computer (server machine):
    1. Access Microsoft® SQL Server 2019 Management Studio.
    2. Click the Download button.
    3. Execute SSMS-Setup-ENU.exe.
    4. After installing SQL Server 2019 Management Studio (SSMS) on the server machine, add the user(s) to the login list. Here is a general method:
      1. Open SSMS and connect to the ADVANCESTEEL instance.


      2. Go to Object Explorer Security folder Logins, right-click and select New Login... from the contextual menu.


      3. On the General tab: search for the user to add, using the Login name field. Select the Windows authentication option.


      4. On the Server Roles tab, select the roles for the user. You can select the sysadminrole - the most permissive role.


  4. Create a dedicated folder for Advance Steel databases and add them there. It is highly recommended to include the version number in the folder name, to be clearer for future versions. For example, you could use a folder name like "Shared SQL AS 2024".
  5. Verify that the folder is shared with and available to all users who want to use the databases, with full control rights. One method is to use the Windows Explorer on a user computer to access and open the folder, then copy any file there.


  6. Open SQL Server 2019 Management Studio and connect to the SQL Server Express instance you created ("ADVANCESTEEL").
  7. Go to Object Explorer Databases folder, right click and select Attach… from the contextual menu to attach the Advance Steel databases to this instance.
    Note: Use the full network path.




  8. Modify the DatabaseConfiguration.xml file from each individual computer where Advance Steel is installed, to point to this server and instance and to this new location.

    The general format for a network path is:

    <DataSource Value="Server=[computer name],[port]\ADVANCESTEEL;Integrated Security=true;AttachDbFileName=\\[computer name]\[path to folder]\Data\AstorProfiles.mdf" Name="AstorProfiles"/>

    Example:

    <DataSource Value="Server=CUSJWFHZY1,1433\ADVANCESTEEL;Integrated Security=true;AttachDbFileName=\\CUSJWFHZY1\Network MDF\en-US\Steel\Data\AstorProfiles.mdf" Name="AstorProfiles"/>

The requirements to install the SQL Server Express 2019 on a machine can be found here: Hardware and Software Requirements for Installing SQL Server 2019

Additional Notes

To share the Advance Steel databases with other users, from a shared location or machine: