---
title: SqlPackageExecutable System Parameter – Path to SqlPackage.exe for Log Databases
description: The SqlPackageExecutable System Parameter holds the full path to SqlPackage.exe (DacFx). The Nodinite Logging Service uses it to create Log Databases, and the Update Log Database guide uses it in its scripts. Includes the DAC folder per SQL Server version.
---

# SqlPackageExecutable - System Parameter

The **SqlPackageExecutable** [System Parameter][System Parameters] holds the full path to `SqlPackage.exe`, the command-line tool in Microsoft's Data-Tier Application Framework (DacFx). The [Logging Service][] runs it to create new [Log Databases][] when the active one gets too old or too large, and the [Update Log Database][] guide uses the same path in the scripts it generates.

<h2 id="at-a-glance"><i class="fal fa-table" aria-hidden="true"></i> At a Glance</h2>

| Property | Value |
| --- | --- |
| Key | `SqlPackageExecutable` |
| Data type | string (full file path) |
| Default | Set during installation, for example `C:\Program Files\Microsoft SQL Server\170\DAC\bin\SqlPackage.exe` |
| Read by | [Logging Service][] |
| Takes effect | Within about 15 seconds; no restart needed |
| Status | ✅ Active |

## <i class="fal fa-gears" aria-hidden="true"></i> How It Works

New [Log Databases][] are deployed from a `.dacpac` file. When the [Logging Service][] splits the active Log Database (see [DaysToSplitDatabaseOn][] and [SizeToSplitDatabaseOn][]), it runs `SqlPackage.exe` from this path, with the connection options from [SqlPackageParams][]. When you update Log Databases manually, the [Update Log Database][] guide generates `SqlPackage.exe` commands with the same path.

`SqlPackage.exe` must exist at the path on the server that runs the [Logging Service][]. If the file is missing, or the DacFx version is too old, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can't create new Log Databases.

## <i class="fal fa-lightbulb" aria-hidden="true"></i> Choosing a Value

* **Always install the latest DacFx**, whatever SQL Server version hosts the databases. The latest version works with every supported SQL Server version, and the generated update scripts use options that only recent versions have. Download it from Microsoft: [DacFx](https://aka.ms/dacfx-msi)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>
* **Update the path after you install a newer DacFx**; the folder number in the path changes with the version.
* **Check the path when you move to another SQL Server**; the [Database Migration Planning][] checklist includes this step.

### DAC Folder per SQL Server Version

The DacFx installer puts `SqlPackage.exe` in a folder named after the SQL Server major version. Use the row for the DacFx version you installed.

| Folder | SQL Server version | 64-bit path | 32-bit path |
| --- | --- | --- | --- |
| 170 | SQL Server 2025 | `C:\Program Files\Microsoft SQL Server\170\DAC\bin\SqlPackage.exe` | ❌ Not available |
| 160 | SQL Server 2022 | `C:\Program Files\Microsoft SQL Server\160\DAC\bin\SqlPackage.exe` | ❌ Not available |
| 150 | SQL Server 2019 | `C:\Program Files\Microsoft SQL Server\150\DAC\bin\SqlPackage.exe` | `C:\Program Files (x86)\Microsoft SQL Server\150\DAC\bin\SqlPackage.exe` |
| 140 | SQL Server 2017 | `C:\Program Files\Microsoft SQL Server\140\DAC\bin\SqlPackage.exe` | `C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin\SqlPackage.exe` |
| 130 | SQL Server 2016 | `C:\Program Files\Microsoft SQL Server\130\DAC\bin\SqlPackage.exe` | `C:\Program Files (x86)\Microsoft SQL Server\130\DAC\bin\SqlPackage.exe` |
| 120 | SQL Server 2014 | `C:\Program Files\Microsoft SQL Server\120\DAC\bin\SqlPackage.exe` | `C:\Program Files (x86)\Microsoft SQL Server\120\DAC\bin\SqlPackage.exe` |
| 110 | SQL Server 2012 | `C:\Program Files\Microsoft SQL Server\110\DAC\bin\SqlPackage.exe` | `C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin\SqlPackage.exe` |
| 105 | SQL Server 2008 R2 | `C:\Program Files\Microsoft SQL Server\105\DAC\bin\SqlPackage.exe` | `C:\Program Files (x86)\Microsoft SQL Server\105\DAC\bin\SqlPackage.exe` |

To see which SQL Server version you run, open SQL Server Configuration Manager:

![SQL Server Configuration Manager showing the SQL Server version][1]  
*Version 12.3.6024.0 is SQL Server 2014, which matches folder 120. Prefer the latest DacFx anyway.*  

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-database" aria-hidden="true"></i> [Update Log Database][]  
* <i class="fal fa-list" aria-hidden="true"></i> [Manage Log Databases][]  
* <i class="fal fa-pen-to-square" aria-hidden="true"></i> [Manage System Parameters][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-tasks" aria-hidden="true"></i> [SqlPackageParams][]  
* <i class="fal fa-server" aria-hidden="true"></i> [SqlServer][]  
* <i class="fal fa-life-ring" aria-hidden="true"></i> [LogDatabaseRecovery][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][]  
* <i class="fal fa-list-check" aria-hidden="true"></i> [Database Migration Planning][]  
* <i class="fal fa-database" aria-hidden="true"></i> [SQL Server Options][]  
* <i class="fal fa-cog" aria-hidden="true"></i> [System Parameters][]  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 and its Install and Update Tool are no longer supported.</p></div>
</aside>

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/IMUpdate/Troubleshooting/SQLServerVersion.png

[Database Migration Planning]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/planning/
[DaysToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/daystosplitdatabaseon/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[LogDatabaseRecovery]:https://docs.nodinite.com/administration/settings/system-parameters/logdatabaserecovery/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Manage Log Databases]:https://docs.nodinite.com/administration/settings/log-databases/overview/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[SizeToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/
[SQL Server Options]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/
[SqlPackageParams]:https://docs.nodinite.com/administration/settings/system-parameters/sqlpackageparams/
[SqlServer]:https://docs.nodinite.com/administration/settings/system-parameters/sqlserver/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Update Log Database]:https://docs.nodinite.com/administration/settings/log-databases/update-log-database/