Setup and installation MS SQLServer Express 2019
Resources
Please install the following files:
Â
Installation
Install SQL Server Express
Â
Â
Run the downloaded file SQLServer2019-SSEI-Expr.exe  and follow the instructions of the installation wizard.Â
Â
Select the installation type. For Pathfinder, the basic setup option is sufficient.
Â
Follow the installation procedure. Confirm the license agreement and select your installation path.
Â
Once the installation is complete, you should now install the SQL Server Management Studio.
Â
You can download it by clicking on the Install SSMS option or use the link provided in the Resources section of this page.
Â
Install SQL Server Management Studio
Â
Â
Run the downloaded file SSMS-Setup-ENU.exe and follow the instructions of the installation wizard.
Â
Select your installation location and click on Install to continue the installation process.
Â
You might need to restart your computer for the installation process to complete. Click on Restart in the wizard if available.
Â
Once the installation is complete, you can close the wizard by clicking on Close.
Â
Â
Install ODBC driver
If you have installed Pathfinder on another PC (without installed SQL Server 2019), you should install the driver  Microsoft® ODBC Driver for SQL Server® there.Â
In rare cases, when using Pathfinder, SQL Server error messages appear if the version of the ODBC does not match the SQL database version used.
Â
If you want to check which version is on your computer, just follow the steps below:
Â
Â
Press the Windows key and type in " ODBC ". Select the " ODBC data sources (32-bit) “
Â
Alternatively, you can enter the following line in the address bar of File Explorer:
% windir% \ system32 \ odbcad32.exeÂ
Â
and press ENTER.
Â
Navigate to the Drivers tab and check the version under the version column.
Â
Â
Configuration of SQL Server
SQL Server Configuration Manager
Â
Â
Open the SQL Server Configuration Manager.
Â
Activate TCP / IP protocols of all nodes.
In particular, the " SQL Server Network Configuration " node and, below it, " Protocols for SQLEXPRESS " must be activated.
Â
In the Protocols for SQLEXPRESS double click on TCP/IP from the protocol name list and go to the IP Addresses tab.
Scroll down all the way to the bottom and place 1433 as the TCP Port.
Please make sure to delete any information in the TCP Dynamic Ports.
Â
Click on OK.
Â
You have to restart the service before the changes can take effect.
Â
Â
Â
The SQL Server Management Studio
Â
Â
Open the Microsoft SQL Server Management Studio.
Â
Right click on your main branch to open the context menu and open properties.
Â
Go to the connections tab and click on check box to allow remote connections to the server.
Â
Finally go to the Security tab and under Server authentication select SQL Server and Windows Authentication mode.
Â
Click on OK to save your configuration.
Â
You will have to restart the application for the changes to take effect.
Â
Â
Database
Create a database for Pathfinder
Â
Â
Please create an empty database in the SQL instance on which the Pathfinder database can then be created.
Â
Open Microsoft SQL Server Management Studio.
In the login screen, click on Connect. If the installation was carried out with a user other than the logged-in user, the authorization to administer the database may be missing.
Â
Right click on the Databases folder, to bring up the context menu, and select New Database…
Create a suitable name for the database. Here, the database name is Pathfinder but you can use any name you want.
Leave all other values as default.
Â
Click on OK to complete creating your blank database.
Â
Create a new user in the database
Â
Â
Click on Security folder to expand and right-click on Logins. Select new login to create a new user and password for the database.
Â
Assign a suitable login name for the user. Here, the name pathfinder is used.
Â
Select SQL Server authentication and assign a password for the user.
Â
Please uncheck the Enforce password policy box.
Â
Select the default database. Here, the name pathfinder is used.
Â
Next, go to the User Mapping tab and select the database from the Users mapped to this login table.
Check the db_owner box from the list for that database and user.
Â
Click on OK to complete creating the user and password for the database.
Â
Configure database connection in Pathfinder
Â
Â
To open the Pathfinder connection manager, please run Pathfinder while holding down the F8 key (hold).
Â
Click on the add icon in the lower left corner of the connection manager dialog window.
Â
Select whether you want to use the existing Pathfinder database connection as a template or not.
To create a "fresh" database connection, select No.Â
If you select Yes , i.e. "use the selected connection as a template", all connection data, including logins and passwords will be transferred to the new database connection.
Â
If you are running the server on your local machine, the server name should be localhost.
Otherwise, the instance name must be specified. The instance name should be in this format: <ServerName>\SQLEXPRESS
Select the database type as MsSql.
Fill in the database name, user name as login and password.
You can perform a connectivity test to check the setting for connection to the database.
Â
You can edit the individual fields with F2 or double clicking.
Â
Firewall settings
Pathfinder connects to the SQL Server via port 1433 (TCP).
If several instances are used or the SQL browser is active, port 1434 (UDP) must also be released.
If a connection from a remote computer to the database is not possible, please check the firewall settings of both computers.
If necessary, switch off the firewall briefly for testing. (Please don't forget to switch it on again.)
Sometimes the server has to be restarted for the firewall rule to be active.
Â
Â