In-Place upgrade from SQL Server 2017 to SQL Server 2025

Chaitanya Kiran 841 Reputation points
2026-06-26T07:30:55.5233333+00:00

Hi All,

We are doing In-Place upgrade from SQL Server 2017 to SQL Server 2025. We have replication configured. What is the order we must follow?

Thanks,

Chaitanya

SQL Server Database Engine
0 comments No comments

1 answer

Sort by: Most helpful
  1. Marcin Policht 94,940 Reputation points MVP Volunteer Moderator
    2026-06-26T11:19:03.3866667+00:00

    SQL Server 2025 introduces some breaking changes regarding upgraded encryption standards so it's important to incorporate some specific steps in the upgrade process to ensure your replication components do not fail post-upgrade.

    Before upgrading, take full backups of your user databases and the master, msdb, and model system databases. Ensure the Distributor is running the same or a higher SQL Server version than the Publisher. If the Distributor is on a separate instance, upgrade it before upgrading the Publisher. Because SQL Server 2025 enforces enhanced encryption and TDS 8 defaults, confirm that all replication servers have valid, non-expired TLS/SSL certificates installed and tested prior to the upgrade.

    Run the SQL Server 2025 installation media as Administrator. In the SQL Server Installation Center, select Installation, then choose Upgrade from a previous version of SQL Server. Follow the wizard, accept the license terms, and select the instance to upgrade. During the process, SQL Server services will restart automatically, causing temporary downtime for replicated databases.

    After the upgrade, verify certificates and Service Principal Names (SPNs). SQL Server 2025 applies stricter encryption requirements, so you may also need to refresh SPNs and ensure your connection drivers, such as the Microsoft OLE DB Driver for SQL Server, are updated. If replication fails or stops synchronizing after the upgrade, generate a new snapshot and reinitialize the subscriber databases.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.