UPK: Error "System.IO.PathTooLongException: The specified path, file name, or both are too long" During Publish Process (Doc ID 1636567.1)

Last updated on JUNE 30, 2015

Applies to:

User Productivity Kit - Version 11.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When publishing the content from UPK 11.1, the following error is displayed in "PublishingActivityLog.xml":
"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."

In order to reproduce the issue, follow the below steps:
1. Run UPK 11.1
2. Start publishing.
3. Receive 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." in the "PublishingActivityLog.xml".

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms