Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI ProcessBook to PI Vision Migration Utility

Troubleshoot displays that are not migrated due to image file size

Troubleshoot displays that are not migrated due to image file size

  • Last UpdatedJul 18, 2023
  • 2 minute read

The default maximum image file size in AVEVA PI Vision displays is 2145728 bytes (2MB). When you migrate PDI files with the PI ProcessBook Display Migration Utility, if the resulting AVEVA PI Vision display contains any images larger than this, the AVEVA PI Vision Display Utility is unable to create the display and returns the following error:

"Display validation failed for user <domain\user running the utility> on display with id:
0, name: <display name>. Reason: Display symbols or attachments too exceeded maximum size."

Follow the steps below to add the ImageFileSize parameter to the dbo.Settings in the AVEVA PI Vision SQL database.

  1. In Microsoft SQL Server Management Studio, connect to the Microsoft SQL Server that contains your AVEVA PI Vision database.

  2. Expand Databases, select your AVEVA PI Vision database, and expand Tables.

  3. Right-click the dbo.settings table and select Edit top 200 rows.

  4. Within TenantID, write 0.

  5. Within Name, write ImageFileSize.

  6. Within Value, enter your desired maximum image file size in bytes and press enter. For example, 10485760 bytes (10MB).

  7. Re-cycle the PI Vision App pools.

Note: There are a few other parameters in the dbo.Settings table that may result in the same error. The table below provides information about each.

Parameter

Description

Default Size Limit

ImageFileSize

Limits the size of images used in AVEVA PI Vision displays

2145728 bytes (2 MB)

MaxAllowedContentLength

Limits the size of POST requests that are used to save changes and/or re-save the display when it is not in the cache

10485760 bytes (10 MB)

MaxSymbolConfigSize

Limits the size of symbols used in AVEVA PI Vision displays

2145728 bytes (2 MB)

TextSize

Limits the length of the string used in the Text symbol

520 characters

Related Links