Explainer
PI AF SDK compatibility with legacy PI server versions
Short answer
PI AF Client 2017 documents access to PI AF Server 2.3 (2010 R2) and PI Data Archive 3.4.380 or later, so a 2.0.0.0 AF server is out of its range. PI AF Client 2012 SP2, version 2.5.2, documents access to any AF 2.x server, with historian minimums of PI Server 3.2.357 for its .NET 3.5 build and PI Server 3.4.370.52 for its .NET 4 build. The alternative is upgrading the server and picking the client from the new release's matrix.

On this page
- Which PI AF SDK release can connect to a PI AF Server 2.0.0.0 host?
- Why does the screen show PI server 2.0.0.0 for two different products?
- Which PI Data Archive minimum does each client release need?
- Which 2012 SP2 runtime build fits a 2.0 AF server and a 3.4.380 historian?
- What do you give up by staying on the old AF server?
- How do you prove the pairing works before deployment?
- Should you upgrade the server or keep the legacy client?
- Questions asked
PI AF Client 2017 documents access to PI AF Server 2.3 (2010 R2) and PI Data Archive 3.4.380 or later, so the newest SDK cannot reach a PI AF Server at 2.0.0.0. The release that can is PI AF Client 2012 SP2, version 2.5.2: its release notes document access to any AF 2.x server, with separate historian minimums for its two runtime builds. This article gives the documented minimums per client release, a worked version comparison for the legacy pairing, and the decision between keeping the legacy client and upgrading the server. Every statement here is a release-note compatibility statement for a named release, not a claim that an obsolete client is a supported deployment on a current workstation.
Which PI AF SDK release can connect to a PI AF Server 2.0.0.0 host? #
PI AF Client 2012 SP2, version 2.5.2, is the newest client whose release notes document access to any AF 2.x server, so it covers an AF Server at 2.0.0.0; PI AF Client 2017 stops at PI AF Server 2.3 (2010 R2).
The two releases draw the line differently. The PI AF Client 2017 release notes document access to PI AF Server 2.3 as the oldest supported server, with the caveat that all features, bug fixes and performance enhancements may not be available against older servers. The vendor's version compatibility page goes further for anything newer: PI AF Client 2017 R2, version 2.9.5, and later will not allow a connection to an AF Server earlier than 2.4 — a hard block, not merely an unsupported combination. One generation up again, the system requirements for PI AF Client 2018 name AF Server 2.7.5 or later.
The floor rises with every client generation. Match the client release to the server you actually have; do not install the newest SDK and expect it to negotiate downward.
Why does the screen show PI server 2.0.0.0 for two different products? #
A connection screen showing PI server 2.0.0.0 does not identify the product: PI AF Server and PI Data Archive version independently, and a dialog can label either one a PI server, so read the product name and full version from the server's administrative tools before applying any compatibility rule.
The two services are different layers. PI AF Server supplies the asset model: AF databases, elements and attribute definitions. PI Data Archive supplies historian points and their recorded values. An application may need one service, the other, or both, and successful access to one proves nothing about the other.
The "any AF 2.x" conclusion answers only an AF Server question. If 2.0.0.0 turns out to be the historian, the AF conclusion is irrelevant and the historian minimums in the next section decide instead. For how the client side of such a connection is assembled before any version question arises, see what a PI System Picker connection needs on the client.
Record three things before choosing: the AF Server product and version, the Data Archive product and version, and the first operation the application must perform — browse an AF database, resolve an attribute, find a point, or retrieve recorded values. Each operation points at one of the two layers.
Which PI Data Archive minimum does each client release need? #
PI AF Client 2017 requires PI Data Archive 3.4.380 or later, while the 2012 SP2 client reaches older historians: its .NET 3.5 build documents PI Server 3.2.357 (PI 3.2 SR1) or later and its .NET 4 build documents PI Server 3.4.370.52 or later, on Windows and UNIX.
| Client release | Documented AF Server access | Documented historian minimum |
|---|---|---|
| PI AF Client 2012 SP2 (2.5.2), .NET 3.5 | any AF 2.x server | PI Server 3.2.357 (PI 3.2 SR1) or later |
| PI AF Client 2012 SP2 (2.5.2), .NET 4 | any AF 2.x server | PI Server 3.4.370.52 or later |
| PI AF Client 2017 | PI AF Server 2.3 (2010 R2) or later | PI Data Archive 3.4.380 or later |
| PI AF Client 2018 | AF Server 2.7.5 or later | read that release's own system requirements |
| PI AF Client 2024 R2 | read that release's own system requirements | PI Data Archive 3.4.395 or later |
Read the versions as complete release identifiers: the historian minimums for the 2012 SP2 builds differ in the third field, and that field is what separates the two runtime variants. Both builds access servers on Windows and UNIX; they differ in the required .NET framework and in how old a historian they accept.
Which 2012 SP2 runtime build fits a 2.0 AF server and a 3.4.380 historian? #
Take the pairing an upgrade-shy plant actually has, an AF Server at 2.0.0.0 with a Data Archive at 3.4.380: the .NET 4 build of PI AF Client 2012 SP2 qualifies on both sides, because 3.4.380 is later than 3.4.370.52 and any AF 2.x server is in range.
Worked comparison, field by field:
- Historian side: 3.4.380 against 3.4.370.52. Major fields equal at 3, minor fields equal at 4, third field decides: 380 is greater than 370.52, so the .NET 4 build's minimum is met — pass.
- Asset-model side: no arithmetic needed. 2.0.0.0 is an AF 2.x server and the release documents access to any AF 2.x server — pass.
- Counter-case: if the historian were at the .NET 3.5 build's floor, PI Server 3.2.357, the minor fields would differ, 2 against 4, and the .NET 4 build would fail. Only the .NET 3.5 build qualifies there.
- Feature exception: two-way element replication with the PI Module Database is documented only from PI Server 2010 and later, regardless of which build you install. A read-only application is not affected; an application that replicates elements is.
Decision: for a historian at or above the .NET 4 build's minimum, install the .NET 4 build; for a historian back at PI 3.2 SR1, install the .NET 3.5 build.
What do you give up by staying on the old AF server? #
A documented connection is not feature parity: the 2012 SP2 notes state that not all features, bug fixes and performance enhancements are available against older AF servers, so every operation the application needs must be verified against the old server, not just the opening of a session.
Newer attribute behaviours, template capabilities and performance work live on the server side; connecting an old client to an old server does not create them. Check each required operation — browsing, attribute resolution, writes if any — rather than treating a successful connect as the whole test.
Authentication is part of the gap. Windows integrated security for the Data Archive arrived with the same release that PI AF Client 2017 names as its historian floor; historians older than that release authenticate differently, and the client must be configured for the mode the old server actually offers.
One safety note: a server this old runs on an operating system well past support, so keep it on a segmented OT network with no direct route from the office LAN while the legacy pairing lasts.
How do you prove the pairing works before deployment? #
Prove it with a minimal test under the identity that will run in production: install the selected client release, connect, select the AF database and read one known element and attribute before any historian call, so a dependency fault and a server fault cannot be mistaken for each other.
- Obtain the selected client kit from the vendor or an authorized distributor.
- Check the supported operating system, the required framework and the installation prerequisites for that exact release before installing.
- Point the application's SDK references at the selected release and confirm which library actually resolves on the deployment machine, not only on the build machine.
- Run the connection test as the production service account, not an administrator login.
- Select the AF database, then read one known element and attribute definition before requesting any recorded values.
Keep library loading and server connection as separate checkpoints. A failure before the application contacts the server points to installation, dependency resolution or runtime configuration; a failure after selecting the server points to the pairing itself. Do not read a long hang as either outcome: connection failures in this stack can be slow to surface, which is why PI AF SDK connection failures are slow to surface and worth diagnosing on their own terms.
Should you upgrade the server or keep the legacy client? #
Upgrade whenever the application needs current features or a supportable operating system, and keep the 2012 SP2 client only for a frozen application on an isolated legacy host; for most plants the server upgrade is the decision, with the legacy client as a bridge, not an endpoint.
Keeping means running a .NET 3.5 and .NET 4-era client on workstation hardware of the same era, and which industrial PCs still run Windows 7 is its own selection problem with its own end-of-support clock. Upgrading means choosing the target release first and reading its compatibility matrix and upgrade guide, because the minimums in the table above move with every client generation.
The decision for each case:
- AF Server confirmed at 2.0.0.0, historian at or above the .NET 4 build's minimum: PI AF Client 2012 SP2, .NET 4 build.
- Same AF server, historian back at PI 3.2 SR1: PI AF Client 2012 SP2, .NET 3.5 build.
- 2.0.0.0 turns out to be the historian, not the asset server: discard the AF conclusions and apply the historian minimums to the chosen client.
- Application needs current features, fixes or a supportable OS: upgrade the server, then pick the client release from the target release's documented matrix.
Questions asked
Can one application read from several AF servers at once?
Yes. PI AF uses a multi-tiered architecture in which a client can communicate with multiple PI AF servers and multiple Data Archives at the same time. Each pairing is judged separately, though: every server and archive the application touches must satisfy the version minimums of the client release you installed, so one legacy server in the set still forces the release choice.
Can the PI SDK, an ODBC or a JDBC driver reach the asset model instead?
No. Those interfaces target the Data Archive and its points, not the AF asset model; AF databases, elements and attributes are reached through the AF SDK. Swapping the data-access driver does not remove the client compatibility decision, it only changes how historian values are read once asset-model access is settled.
Can an old PI Server be upgraded straight to a current release?
Not always in one step. The vendor's install kit supports a direct upgrade to PI Server 2018 SP3 only when the existing server satisfies both documented prerequisites, and from a 2.0-era installation a staged path through intermediate releases is the normal route. Read the upgrade guide for your current version before planning the migration window.

