Loading ...

Resolving the PathTooLongException Error in Acumatica

When working with Acumatica you may encounter the PathTooLongException error, which is related to exceeding the length limit for paths or filenames.

Here are step-by-step recommendations to help you resolve this issue:


  1. Shorten the Project Path: Move your project files to a directory with a shorter name. For example, instead of using the path:

C:\Program Files\Acumatica ERP\Customization\AcumaticaERP_Long_Name_For_Instance7241811

Consider using a simpler path like:

C:\Program Files\AcumaticaERP\InstanceName

(Also, avoid using system-reserved characters such as underscores and dots.) This adjustment should help prevent path length issues.

  1. Enable Long Path Support in Windows:
    • Open the Registry Editor by pressing Win + R, typing regedit, and pressing Enter.
    • Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.
    • Locate the LongPathsEnabled entry. If it doesn’t exist, create it by right-clicking on FileSystem, selecting New > DWORD (32-bit) Value, and naming it LongPathsEnabled.
    • Double-click on LongPathsEnabled and set the value to 1 (enabled).
    • Restart the server to apply the updated settings.

By following these steps, you should be able to avoid the PathTooLongException error and continue working on your project without path length issues.

Be the first to rate this post

  • Currently 0.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5