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 – a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce Sage integration for Sage X3Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data MigrationIntegrated App developmentCustom App development and Technical Support to business partners and end users.
Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star rated app listed on Salesforce AppExchange.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

For more information on our Salesforce products and services, contact us at salesforce@greytrix.com. We will be glad to assist you.