No network variable with XIF xx was found error when attempting to deploy from Project Configuration Server

NOTICE

POTENTIAL FOR DATA LOSS.
The steps detailed in the resolution of this article may result in a loss of critical data if not performed properly. Before beginning these steps, make sure all important data is backed up in the event of data loss. If you are unsure, please contact Product Support Services prior to attempting the procedure below.

Issue

When you attempt to deploy an Automation Server from Project Configuration Server the deploy fails.

You get a message " No network variable with XIF xx was found" where xx can be a number that is represented by an XIF file index.

Product Line

SmartStruxure Solution

Environment

Project Configuration Server (PCS)

Automation Server

Cause

The Local node contents in the Automation Server was imported from a real operating site Automation Server. When this occurs the XIF index's are imported too.

PCS does not support XIF indexes.  These are created in the  Automation Server in the deploy process.

Resolution

To remove the indexes in the Project Configuration Server Automation Server you need to follow these steps.

  1. Export the local node from the Automation Server in the Project Configuration Server Database.
  2. Edit the export XML file and delete any reference to this string  PI Name="XIFIndex" Value="XX"
  3. Once this has been done then you will need to delete the existing local node and import the modified export.
  4. The deploy of the Automation Server should then work with no XIF errors.