web analytics
Press "Enter" to skip to content

Enabling Long Paths in Composable

Lars Fiedler

Have you ever received the error System.IO.PathTooLongException: The specified path, file name, or both are too long. The full qualified file name must be less than 260 characters, the 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 reasions:

  • 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 Composable. You will need to added the following configuration under the runtime section:

Lars Fiedler
Latest posts by Lars Fiedler (see all)