---
title: "Upgrading to portier Vision 5 with Firebird migration and MS SQL Server"
description: "Moving from portier Vision 4.1x to Vision 5, covering the Firebird 2.5 to 4.0 database migration in three scenarios and the connection check in portier Vision Companion."
url: https://help.portiervision.com/en/articles/113-upgrading-to-portier-vision-5-with-firebird-migration-and-ms-sql-server
collection: "Integrations & IT Setup"
updated: 2026-08-28
language: en
alternates: [de, fr]
---

# Upgrading to portier Vision 5 with Firebird migration and MS SQL Server

Moving from portier Vision 4.1x to Vision 5, covering the Firebird 2.5 to 4.0 database migration in three scenarios and the connection check in portier Vision Companion.

## Who this article is for

This article covers the one-off move from portier Vision 4.1x to Vision 5, including the Firebird database migration from 2.5 to 4.0. If you already run Vision 5.5.0 or newer, you do not need it. Further versions arrive through the built-in updater, see [Automatic updates for portier Vision](https://help.portiervision.com/en/articles/123-automatic-updates-for-portier-vision.md).

Plan a maintenance window. Nobody works in Vision while the changeover runs.

**Contents**

-   Preparation
    
-   Where the database settings live in Vision 5
    
-   Scenario 1: local Firebird server
    
-   Scenario 2: external Firebird server
    
-   Scenario 3: Microsoft SQL Server
    
-   After you save
    
-   If something goes wrong
    

## Preparation

-   **Back up the database.** On Firebird that is the PORTIERVISION.GDB file. On Microsoft SQL Server, take the backup with SQL Server Management Studio. Store it outside the Vision folder.
    
-   **Write down the database path and the sign-in details.** You need both for the connection check at the end.
    
-   **Close Vision on every workstation.**
    
-   Check the article **System requirements and performance** first.
    

## Where the database settings live in Vision 5

You set the database connection in **portier Vision Companion**. The Companion is installed together with Vision and sits as `portierVisionCompanion.exe` in the same folder as `PortierVision.exe`. There is no separate configuration program.

There are two ways in.

-   **From Vision.** The Companion starts from the Vision menu and is already signed in. Click **Database Configuration** at the top.
    
-   **Directly.** Start `portierVisionCompanion.exe`. On the sign-in screen, click **Open database configurator** at the bottom. No sign-in is needed for this.
    

During a changeover the second route is the one that matters. It works even when Vision cannot reach the database yet.

![The Companion sign-in screen. "Open database configurator" reaches the database configuration without signing in.](https://staticfiles.gleap.io/p69f19d405a24ffe33e3bc1d5/GCMiGrYiy7s6IMbz6J4L5DNQ0lxo8ATEEvxItnyRy3gO0n7Qj4UTzv1Cntzf27mmdrHahNjNSS6.png)

_The Companion sign-in screen. "Open database configurator" reaches the database configuration without signing in._

Vision and the Companion read the same `portiervision.ini` file. What you save in the Companion applies to both.

## Scenario 1: local Firebird server

**Step 1: install Firebird 4.0**

-   Run the Firebird 4.0 setup on the server.
    
-   Accept the licence agreement.
    
-   Select the directory that holds the existing Firebird 2.5 database.
    
-   Confirm the removal of Firebird 2.5.
    

![The Firebird 4.0 setup starting on the server.](https://staticfiles.gleap.io/g/VVbRIRbpBOTmuQquObrR8L9ByHrFe4OJ1JcqNO7s5ZXToRczpaT2KQwXl1eHrnj87xayglOHH8G.png)

_The Firebird 4.0 setup starting on the server._

![The setup screen where you accept the licence agreement and pick the folder holding the existing Firebird 2.5 database.](https://staticfiles.gleap.io/g/wpd6PbchiHn34ir6FrhMbkBbeeGI0LcXFWh9qsVxCRDwbWtOtFYWxgUFYdXptKvjTS3RoL5gAWc.png)

_The setup screen where you accept the licence agreement and pick the folder holding the existing Firebird 2.5 database._

**Step 2: migrate the database**

-   Let the setup detect and migrate the existing database.
    
-   Complete the installation.
    

**Step 3: install portier Vision 5**

-   Run the Vision 5 setup on the server and on every workstation.
    
-   Tick **I agree to the license terms and conditions**.
    
-   The setup finds an existing Vision installation on its own and installs into that folder. For a different folder, click **Options** and enter it under **Install location:**.
    
-   A Firebird site needs no ODBC driver. Clear the tick on **Install Microsoft ODBC Driver 18 for SQL Server (recommended)**.
    

![The Vision 5 setup on the server, with the licence tick and the install location under Options.](https://staticfiles.gleap.io/g/7kMVJau4ugV5sIrexVH2bgBuZAgXWIJAcnIbSaUcV2wbjO4F4Q40u6OVS2yQmcQKduTi3ETu6po.png)

_The Vision 5 setup on the server, with the licence tick and the install location under Options._

**Step 4: check the connection**

-   Open **Database Configuration** in the Companion.
    
-   Under **Database Type**, select **Firebird**.
    
-   Fill in **Host**, **Port**, **Database Path**, **Username** and **Password**. **Browse** picks the GDB file directly.
    
-   Click **Test Connection** and wait for the message "Connection successful, please save the configuration".
    
-   Click **Save Config**.
    

![Database configuration in the Companion with database type Firebird.](https://staticfiles.gleap.io/p69f19d405a24ffe33e3bc1d5/HlpkzMsH1ME9rE79bIR00NewDIHVHfP3mZSqP3cJECp926FnqfmNvBXfJJfUXDvEa8aRJJWyiqx.png)

_Database configuration in the Companion with database type Firebird._

-   Start Vision, sign in, and spot-check keys, cylinders and personnel.
    

## Scenario 2: external Firebird server

**Step 1: preparation**

-   Make sure the external Firebird server is reachable.
    
-   Copy `portiervision.ini` from a workstation into the folder on the server that holds the database file (\\\*.GDB). This confirms the path and the access.
    

![The portiervision.ini file in the server folder that holds the database file.](https://staticfiles.gleap.io/g/J41xFbhf7lghvdqjsAlw2MUtQ1eo3nXrZzSdGhRl9fbP78ILoq0o9gTBM67186dB5c60phS9B8v.png)

_The portiervision.ini file in the server folder that holds the database file._

That copy is only a path reference for the Firebird setup. By default the file is tied to your user and machine by DPAPI and cannot be read anywhere else. Do not use it as a finished configuration for other workstations.

**Step 2: upgrade Firebird 4.0 remotely**

-   Run the Firebird 4.0 setup and select "Firebird Remote Upgrade".
    
-   Give the directory on the external server that holds the database and PORTIERVISION.INI.
    
-   The setup detects the existing Firebird 2.5 installation and migrates the database.
    

![The Firebird 4.0 setup with the "Firebird Remote Upgrade" option selected.](https://staticfiles.gleap.io/g/tCE17MDWAue5vsWxHuDxtBnW07m8x5tTi174EN1Z2f7QSsQHJXQrCpJGm9A5Yg3KaOC2e33xFEh.png)

_The Firebird 4.0 setup with the "Firebird Remote Upgrade" option selected._

**Step 3: confirm**

-   Confirm the removal of the old version and the shared files.
    
-   Complete the installation.
    

**Step 4: install portier Vision 5**

-   Run the Vision 5 setup on every workstation involved.
    
-   Tick **I agree to the license terms and conditions**.
    
-   Clear the tick on **Install Microsoft ODBC Driver 18 for SQL Server (recommended)**.
    

![The Vision 5 setup on a workstation, with the licence terms ticked.](https://staticfiles.gleap.io/g/TXhyIkjANYubJMCGhugybKFkSFycsgQXcGc4yObdyE5f1FzwEZBzIIGeoBIgwZmmF7YOcdDH97u.png)

_The Vision 5 setup on a workstation, with the licence terms ticked._

**Step 5: check the connection**

-   Open **Database Configuration** in the Companion.
    
-   **Database Type**: **Firebird**. Enter the server name under **Host** and the path as the server sees it under **Database Path**.
    
-   Click **Test Connection**, wait for the success message, then click **Save Config**.
    
-   Repeat this on every workstation. Each machine has its own `portiervision.ini`.
    

To distribute the file instead, switch **Config Encryption** under **Advanced Configuration** to **Shared Key**. With **DPAPI** the file stays tied to your user and machine.

## Scenario 3: Microsoft SQL Server

**Step 1: preparation**

-   Back up the database with SQL Server Management Studio or your usual tool.
    
-   The login Vision works with needs `db_ddladmin`. Without it, the upgrade stops at the first schema change. See **Database sign-in without a password**.
    

![Backing up the SQL Server database in SQL Server Management Studio, step 1 of 4.](https://staticfiles.gleap.io/g/LTYmePOU77foKy6TO5kBJLk5AAACN0dgH3QMrTBphk3Y7UmTRljAmEXNxlHIAozHXLrqf2U405j.png)

_Backing up the SQL Server database in SQL Server Management Studio, step 1 of 4._

![Backing up the SQL Server database in SQL Server Management Studio, step 2 of 4.](https://staticfiles.gleap.io/g/JiT9adqqorndNjUhbJ4CJ9wbAieIiVxZO71HsjrerBKVJSYyzbvGjuhUdSFwp85FcmB6ZBMxZgG.png)

_Backing up the SQL Server database in SQL Server Management Studio, step 2 of 4._

![Backing up the SQL Server database in SQL Server Management Studio, step 3 of 4.](https://staticfiles.gleap.io/g/INSHMNnYkRmnWajUyqYoseExRZ6GWtmh4Q82qqujbj3VePQBNADW0kIFpts8n84q1fXIGzNz5LB.png)

_Backing up the SQL Server database in SQL Server Management Studio, step 3 of 4._

![Backing up the SQL Server database in SQL Server Management Studio, step 4 of 4.](https://staticfiles.gleap.io/g/TDN6gW5BiISe1Kblf0mCdPf2vobSwMhrdjHat8OK7XWImYiuZw7ESEACpIyE04YnySz3vGyabNC.png)

_Backing up the SQL Server database in SQL Server Management Studio, step 4 of 4._

**Step 2: install portier Vision 5**

-   Run the Vision 5 setup on the server and on every workstation.
    
-   Tick **I agree to the license terms and conditions**.
    
-   Leave **Install Microsoft ODBC Driver 18 for SQL Server (recommended)** ticked. The Vision desktop connects to SQL Server through this driver. If the driver is already present, the setup skips the step. The Companion does not need it, it connects directly.
    

**Step 3: check the connection**

-   Open **Database Configuration** in the Companion.
    
-   Under **Database Type**, select either **Microsoft SQL Server - Normal Auth** or **Microsoft SQL Server - Windows Login**.
    
-   Fill in **Host**, **Database Name** and **Schema**, plus **Username** and **Password** for normal authentication.
    
-   There is no separate port field here. For a non-default port, append it to the host with a comma, for example `SQLSRV01, 1444`.
    
-   Turn on encrypted connections with **SSL/TLS Connection** under **Advanced Configuration**.
    
-   Click **Test Connection**, wait for the success message, then click **Save Config**.
    

![Database configuration with Microsoft SQL Server and normal authentication.](https://staticfiles.gleap.io/p69f19d405a24ffe33e3bc1d5/GJWHWjtlFWLngboF7K3yys89Njz3QoYxUvSSpDmeMrd5J4QqURDDcElehxlYKAK5u5Dga95kHa7.png)

_Database configuration with Microsoft SQL Server and normal authentication._

## After you save

If you changed the database, the Companion signs you out when you save. Sign in again so it works against the new database.

Then start Vision and sign in there. If the sign-in goes through and the master data looks right, the changeover is done. See also **portier first installation and login**.

## If something goes wrong

If the Firebird setup fails, or Vision does not open the database, restore the backup you took in the preparation step and start again. Do not carry on with a half-migrated database, not even for a test. If you are stuck, contact portier support before you make another attempt.

If Vision reports "Das Programm ‚portierVisionCompanion.EXE' befindet sich nicht im Verzeichnis!" when the Companion should start, the file is missing from the installation folder. Run the Vision 5 setup on that machine again.
