SXP Packager error occurred while saving directories and files. The system cannot find the path specified
book
Article ID: 404262
calendar_today
Updated On:
Products
CA Client Automation - IT Client Manager
CA Client Automation
Issue/Introduction
SXP Packager returns following error :
An error occurred while saving directories and files.
Path:
<long_path with size exceeding 256 characters>
The system provides the following error message:
The system cannot find the path specified.

Cause
This problem occurs when a very long path is scanned (256 or more characters)
Resolution
- - Open a cmd with Administrative privileges and execute this command
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
This will set 1 for registry key value :
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 1
- Copy the file C:\Program Files (x86)\CA\DSM\Bin\sxppkg.exe.manifest as sxppkg.exe.manifest_ORI
- Edit file C:\Program Files (x86)\CA\DSM\Bin\sxppkg.exe.manifest and add following section at the bottom just before the last line "</assembly>"
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<ws2:longPathAware>true</ws2:longPathAware>
</windowsSettings>
</application>

- Delete all files under C:\Program Files (x86)\CA\DSM\Bin\Save\0001
- Start again SD Packager
Feedback
thumb_up
Yes
thumb_down
No