web analytics

Enabling Long Paths in Composable

Have you ever received the error System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.?

If so, we have a solution.

Path Too Long exceptions can occur for a variety of reasons:

  • Downloading files with very long file names
  • Accessing deeply nested folder shares
  • Unzipping large folder structures

In order to enable support for long paths in Composable, there are 2 settings you must change.
Under the Local Group Policy Editor on the machine running Composable, choose ‘All settings’ and enable the ‘Enabled Win32 long paths’ setting.

Next, open up the Web.config and ActivationService.exe.config files in the Composable installation folder and add the following configuration settings under the runtime section: