SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 20549: Long image names in SAS® Web Report Studio

DetailsHotfixAboutRate It

There is a metadata repository limit on filename length of 60 characters. If you upload an image that has a long image name, you might see the following error in the SAS Web Report Studio log:

  Root Cause:   java.lang.IllegalArgumentException: Invalid Name:
  'UniquePage1_AGM_2007_03_4_MitarbeiterRessourcenUniquePage1_gplot.png'
  contains more than 60 characters.
  Names of this length are not supported.

This limit is not imposed by SAS Web Report Studio so it is not explicitly stated in the SAS Web Report Studio documentation.

If you upload an image with a file name that is less than the 60 character maximum, the problem might still occur when you do a manual refresh save in SAS Web Report Studio. As part of this manual refresh save, a cache of html, image, and PDF files are stored in the repository. To guarantee unique lookup of the referenced files, the saved code prefixes images and other elements with a "UniquePage_X" tag. There is a need to have unique names across sections. In some cases, the prefix addition can cause the image file name to exceed the maximum filename length.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Report StudioMicrosoft Windows Server 2003 Datacenter Edition3.19.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition3.19.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition3.19.1 TS1M3 SP4
Microsoft Windows NT Workstation3.19.1 TS1M3 SP4
Microsoft Windows XP Professional3.19.1 TS1M3 SP4
Microsoft Windows 2000 Server3.19.1 TS1M3 SP4
Microsoft Windows 2000 Professional3.19.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server3.19.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server3.19.1 TS1M3 SP4
64-bit Enabled Solaris3.19.1 TS1M3 SP4
64-bit Enabled HP-UX3.19.1 TS1M3 SP4
Solaris3.19.1 TS1M3 SP4
HP-UX3.19.1 TS1M3 SP4
64-bit Enabled AIX3.19.1 TS1M3 SP4
AIX3.19.1 TS1M3 SP4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.