{"id":132,"date":"2022-04-29T12:06:13","date_gmt":"2022-04-29T12:06:13","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/acumatica\/?p=132"},"modified":"2024-07-11T04:56:43","modified_gmt":"2024-07-11T04:56:43","slug":"acumatica-error-file-path-too-long-on-project-validation-or-publish","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/","title":{"rendered":"Acumatica Error &#8211; File path too long on Project Validation or Publish"},"content":{"rendered":"\n<p>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.<\/p>\n\n\n\n<p>While working on one of our projects on local instance, we encountered an error during publishing or validation of the project.<\/p>\n\n\n\n<p>In this blog, we have demonstrated the error on a training project and will be discussing about the resolution of the error <em>\u201c<strong>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<\/strong>.\u201d <\/em>occurred when we validate the current project.<\/p>\n\n\n<p><center><a href=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" title=\"File-path-too-long-on-Project-Validation-or-Publish\" src=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png\" alt=\"File-path-too-long-on-Project-Validation-or-Publish\" width=\"1352\" height=\"723\" \/><\/a><\/center><\/p>\n<p>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.<\/p>\n<ol>\n<li>Edit Web.Config file of your instance and locate \u201cCustomizationTempFilesPath\u201d node under appSettings.<\/li>\n<li>Review the path and make sure it is not a long path as validating project will add its own path for the available files.<\/li>\n<li>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.<\/li>\n<\/ol>\n<p><center><a href=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/WebConfig.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"alignnone\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" title=\"WebConfig\" src=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/WebConfig.png\" alt=\"WebConfig\" width=\"1364\" height=\"183\" \/><\/a><\/center><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>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\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,3,14],"tags":[4,48,51,47,44,50,46,45],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-acumatica-customization","category-acumatica-erp","category-acumatica-services","tag-acumatica","tag-directory-name-must-be-less-than-248-characters","tag-file-name","tag-file-name-must-be-less-than-260-characters","tag-file-path-issue","tag-the-specified-path","tag-validate-current-project","tag-validating-project"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Resolve Acumatica Error: File Path Too Long<\/title>\n<meta name=\"description\" content=\"Encounter &#039;File Path Too Long&#039; error in Acumatica project validation or publish? Find solutions and insights in this helpful guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Resolve Acumatica Error: File Path Too Long\" \/>\n<meta property=\"og:description\" content=\"Encounter &#039;File Path Too Long&#039; error in Acumatica project validation or publish? Find solutions and insights in this helpful guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/\" \/>\n<meta property=\"og:site_name\" content=\"Acumatica \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-29T12:06:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-11T04:56:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png\" \/>\n<meta name=\"author\" content=\"greytrix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greytrix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/\",\"name\":\"Resolve Acumatica Error: File Path Too Long\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png\",\"datePublished\":\"2022-04-29T12:06:13+00:00\",\"dateModified\":\"2024-07-11T04:56:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/#\/schema\/person\/c49d53021d39726d820c6fd517b2c2ec\"},\"description\":\"Encounter 'File Path Too Long' error in Acumatica project validation or publish? Find solutions and insights in this helpful guide.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#primaryimage\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png\",\"contentUrl\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png\",\"width\":1352,\"height\":723},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Acumatica Error &#8211; File path too long on Project Validation or Publish\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/\",\"name\":\"Acumatica \u2013 Tips, Tricks and Components\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/#\/schema\/person\/c49d53021d39726d820c6fd517b2c2ec\",\"name\":\"greytrix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g\",\"caption\":\"greytrix\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/acumatica\/author\/greytrix\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Resolve Acumatica Error: File Path Too Long","description":"Encounter 'File Path Too Long' error in Acumatica project validation or publish? Find solutions and insights in this helpful guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/","og_locale":"en_US","og_type":"article","og_title":"Resolve Acumatica Error: File Path Too Long","og_description":"Encounter 'File Path Too Long' error in Acumatica project validation or publish? Find solutions and insights in this helpful guide.","og_url":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/","og_site_name":"Acumatica \u2013 Tips, Tricks and Components","article_published_time":"2022-04-29T12:06:13+00:00","article_modified_time":"2024-07-11T04:56:43+00:00","og_image":[{"url":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png","type":"","width":"","height":""}],"author":"greytrix","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greytrix","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/","url":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/","name":"Resolve Acumatica Error: File Path Too Long","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#primaryimage"},"thumbnailUrl":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png","datePublished":"2022-04-29T12:06:13+00:00","dateModified":"2024-07-11T04:56:43+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/#\/schema\/person\/c49d53021d39726d820c6fd517b2c2ec"},"description":"Encounter 'File Path Too Long' error in Acumatica project validation or publish? Find solutions and insights in this helpful guide.","breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#primaryimage","url":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png","contentUrl":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-content\/uploads\/2022\/04\/File-path-too-long-on-Project-Validation-or-Publish.png","width":1352,"height":723},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/2022\/04\/29\/acumatica-error-file-path-too-long-on-project-validation-or-publish\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/acumatica\/"},{"@type":"ListItem","position":2,"name":"Acumatica Error &#8211; File path too long on Project Validation or Publish"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/#website","url":"https:\/\/www.greytrix.com\/blogs\/acumatica\/","name":"Acumatica \u2013 Tips, Tricks and Components","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/acumatica\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/#\/schema\/person\/c49d53021d39726d820c6fd517b2c2ec","name":"greytrix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/acumatica\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g","caption":"greytrix"},"url":"https:\/\/www.greytrix.com\/blogs\/acumatica\/author\/greytrix\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":8,"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":2343,"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/posts\/132\/revisions\/2343"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/acumatica\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}