Failed to publish image with platform layer if offload Compositing feature is enabled.

Failed to publish image with platform layer if offload Compositing feature is enabled.

book

Article ID: CTX312260

calendar_today

Updated On:

Description

  • When offload Compositing feature is enabled, you may failed to publish image, which contains a platform layer. 
  • ELM log shows the following error:
"An unexpected error occurred; export the log files and notify Technical Support that this error occurred."

Resolution

Disable 8dot3name on platform layering by adding below registry key:

----------------------------------------------------
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation
NtfsDisable8dot3NameCreation
1
----------------------------------------------------

Problem Cause

When offload Compositing feature is enabled, compositing engine VM is going to copy filesystem items.
But if 8dot3name is enabled on platform layer, MS function SetFileShortNameW() returns error 87 (ERROR_INVALID_PARAMETER), compositing engine VM is not able to copy file anymore. 

<Error details>
2021-03-12 05:02:20 WARN  1556 [uni.ca.syslib.copyfolder] CopyFileSystemItem(359): failed to set short file name ('\\?\Volume{2fb2a1b2-0000-0000-0000-100000000000}\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\Windows\SendTo\FAX ???.lnk', 'C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\Windows\SendTo\FAX ???.lnk') failed. Error was 87
 

Additional Information

SetFileShortNameA function (winbase.h) - Win32 apps | Microsoft Docs

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc778996(v=ws.10)?redirectedfrom=MSDN