Acumatica Error – File path too long on Project Validation or Publish

By | April 29, 2022

Acumatica ERP provides an inbuilt option to customize an existing functionality or add new functionalities. Acumatica has a Customization Projects screen to manage all the customization projects and when we open the Customization Project Editor, all the available customization areas can be viewed in left section of the screen.

While working on one of our projects on local instance, we encountered an error during publishing or validation of the project.

In this blog, we have demonstrated the error on a training project and will be discussing about the resolution of the error 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.” occurred when we validate the current project.

File-path-too-long-on-Project-Validation-or-Publish

Based on the error message, we can recognize that system is trying to copy the files to some directory, but the file path exceeds the character limit. One can overcome this error by making the necessary changes in web.config file of an Acumatica Instance.

  1. Edit Web.Config file of your instance and locate “CustomizationTempFilesPath” node under appSettings.
  2. Review the path and make sure it is not a long path as validating project will add its own path for the available files.
  3. In the below screenshot, commented node has longer path which throws an error and the uncommented node has a shorter path which fixes the error.

WebConfig

About Us

Greytrix, with its 22+ years of expertise as the Sage Development partners, extends its mastery to bring Acumatica for modern businesses. Greytrix offers complete end-to-end professional services for Acumatica, ranging from development, support, technical assistance, consulting and system integrations.

With GUMU™, our home system integrator, we bring a range of system integrations for Acumatica with e-commerce like Magento (Adobe Commerce), Shopify, Checkbooks.io, CRM like Dynamics 365 CRM.

GUMU™ forms the crucial SAAS platform for all seamless and secured Acumatica integration. For more information on Acumatica, the cloud ERP, please contact us at acumatica@greytrix.com.

Leave a Reply

Your email address will not be published.