Troubleshoot displays that are not migrated due to image file size
- Last UpdatedJul 18, 2023
- 2 minute read
- PI System
- Visualization
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.
-
In Microsoft SQL Server Management Studio, connect to the Microsoft SQL Server that contains your AVEVA PI Vision database.
-
Expand Databases, select your AVEVA PI Vision database, and expand Tables.
-
Right-click the dbo.settings table and select Edit top 200 rows.
-
Within TenantID, write .
-
Within Name, write .
-
Within Value, enter your desired maximum image file size in bytes and press enter. For example, bytes (10MB).
-
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 |