Skip to main content
Solved

Acumatica Publishing Issue 2025R2

  • January 12, 2026
  • 3 replies
  • 40 views

Forum|alt.badge.img

Hi Team,

 

When I publish the package in 2025R2 i am getting following file path issue.

 

System.Exception: An error occurred while copying files to the temp directory ---> 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. at System.IO.PathHelper.GetFullPathName() at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.GetFullPathInternal(String path) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest) at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest) at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest) at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest) at Customization.CstSyncWebsiteFolder.CopyFilesInternal(String sourcePath, IEnumerable1 files) at Customization.CstSyncWebsiteFolder.CopyFiles(String sourcePath, IEnumerable1 files) --- End of inner exception stack trace --- at Customization.CstSyncWebsiteFolder.CopyFiles(String sourcePath, IEnumerable1 files) at Customization.CstManager.ValidateDocument(CstDocument doc, ICustomizationLogger logger, Boolean patchLibInDB) at PX.Customization.CstValidationProcess.ValidateCurrentDocument(ICustomizationLogger logger, String& projectNames) at PX.Customization.CstValidationProcess.CompileInternal()

 

Regards,

Sakthi

Best answer by DipakNilkanth

Hi ​@sakthi61,

I faced a similar issue earlier and tried multiple approaches to resolve it, including changing the installation path, renaming the instance, shortening folder paths, creating a new Acumatica instance under a shorter directory, enabling Win32 long paths in Windows, and reducing the customization project name. Unfortunately, none of these steps resolved the issue for the existing instance.

Eventually, I created a new Acumatica instance on a drive other than C:, and that resolved the problem. It might be related to access permissions or inherited path constraints on the original instance.

If anyone has found a solution to fix this issue without recreating the instance, I’d be happy to hear about it.

3 replies

Forum|alt.badge.img+2
  • Pro II
  • January 12, 2026

@sakthi61 This error is due to the Windows/.NET path length limit during customization publish; shorten the Acumatica instance path, customization project name, or folder structure to resolve it.

Please refer below links for solution.

https://www.greytrix.com/blogs/acumatica/2022/04/29/acumatica-error-file-path-too-long-on-project-validation-or-publish/

 

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • January 12, 2026

Hi Team,

 

Getting same error.

[2026-01-12 03:35:20.483] Compiled projects: MYEInvoice2025
[2026-01-12 03:35:20.889] Validation started.
[2026-01-12 03:35:21.721] Copying the website C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website
[2026-01-12 03:35:21.788] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ap\ap301000.aspx
[2026-01-12 03:35:21.796] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ap\ap301000.aspx.cs
[2026-01-12 03:35:21.812] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ap\ap303000.aspx
[2026-01-12 03:35:21.814] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ap\ap303000.aspx.cs
[2026-01-12 03:35:21.816] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ap\ap304000.aspx
[2026-01-12 03:35:21.829] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ap\ap304000.aspx.cs
[2026-01-12 03:35:21.843] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_AP\APAM0001.aspx
[2026-01-12 03:35:21.846] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_AP\APAM0001.aspx.cs
[2026-01-12 03:35:21.860] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_AP\APAM0002.aspx
[2026-01-12 03:35:21.860] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_AP\APAM0002.aspx.cs
[2026-01-12 03:35:21.876] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar301000.aspx
[2026-01-12 03:35:21.880] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar301000.aspx.cs
[2026-01-12 03:35:21.891] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar303000.aspx
[2026-01-12 03:35:21.898] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar303000.aspx.cs
[2026-01-12 03:35:21.907] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar303020.aspx
[2026-01-12 03:35:21.911] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar303020.aspx.cs
[2026-01-12 03:35:21.923] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar304000.aspx
[2026-01-12 03:35:21.925] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ar\ar304000.aspx.cs
[2026-01-12 03:35:21.939] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_AR\ARAM0001.aspx
[2026-01-12 03:35:21.942] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_AR\ARAM0001.aspx.cs
[2026-01-12 03:35:21.955] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ca\ca204000.aspx
[2026-01-12 03:35:21.959] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ca\ca204000.aspx.cs
[2026-01-12 03:35:21.970] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cm\cm202000.aspx
[2026-01-12 03:35:21.980] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cm\cm202000.aspx.cs
[2026-01-12 03:35:22.036] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs101500.aspx
[2026-01-12 03:35:22.038] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs101500.aspx.cs
[2026-01-12 03:35:22.050] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs203100.aspx
[2026-01-12 03:35:22.053] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs203100.aspx.cs
[2026-01-12 03:35:22.065] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs203500.aspx
[2026-01-12 03:35:22.066] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs203500.aspx.cs
[2026-01-12 03:35:22.078] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs204000.aspx
[2026-01-12 03:35:22.080] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_cs\cs204000.aspx.cs
[2026-01-12 03:35:22.082] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ep\ep203000.aspx
[2026-01-12 03:35:22.094] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ep\ep203000.aspx.cs
[2026-01-12 03:35:22.108] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_in\in202000.aspx
[2026-01-12 03:35:22.110] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_in\in202000.aspx.cs
[2026-01-12 03:35:22.121] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_in\in202500.aspx
[2026-01-12 03:35:22.137] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_in\in202500.aspx.cs
[2026-01-12 03:35:22.146] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000001.aspx
[2026-01-12 03:35:22.156] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000001.aspx.cs
[2026-01-12 03:35:22.166] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000002.aspx
[2026-01-12 03:35:22.176] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000002.aspx.cs
[2026-01-12 03:35:22.188] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000003.aspx
[2026-01-12 03:35:22.196] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000003.aspx.cs
[2026-01-12 03:35:22.208] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000004.aspx
[2026-01-12 03:35:22.219] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000004.aspx.cs
[2026-01-12 03:35:22.231] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000005.aspx
[2026-01-12 03:35:22.241] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000005.aspx.cs
[2026-01-12 03:35:22.251] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000006.aspx
[2026-01-12 03:35:22.260] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000006.aspx.cs
[2026-01-12 03:35:22.270] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000007.aspx
[2026-01-12 03:35:22.278] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000007.aspx.cs
[2026-01-12 03:35:22.288] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000008.aspx
[2026-01-12 03:35:22.298] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000008.aspx.cs
[2026-01-12 03:35:22.310] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000009.aspx
[2026-01-12 03:35:22.318] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000009.aspx.cs
[2026-01-12 03:35:22.328] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000010.aspx
[2026-01-12 03:35:22.338] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000010.aspx.cs
[2026-01-12 03:35:22.348] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000026.aspx
[2026-01-12 03:35:22.358] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000026.aspx.cs
[2026-01-12 03:35:22.368] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000027.aspx
[2026-01-12 03:35:22.378] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000027.aspx.cs
[2026-01-12 03:35:22.387] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000028.aspx
[2026-01-12 03:35:22.396] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000028.aspx.cs
[2026-01-12 03:35:22.407] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000029.aspx
[2026-01-12 03:35:22.415] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_ms\ms000029.aspx.cs
[2026-01-12 03:35:22.427] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000032.aspx
[2026-01-12 03:35:22.435] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000032.aspx.cs
[2026-01-12 03:35:22.447] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000033.aspx
[2026-01-12 03:35:22.457] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000033.aspx.cs
[2026-01-12 03:35:22.466] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000034.aspx
[2026-01-12 03:35:22.476] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000034.aspx.cs
[2026-01-12 03:35:22.488] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000035.aspx
[2026-01-12 03:35:22.498] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000035.aspx.cs
[2026-01-12 03:35:22.513] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000036.aspx
[2026-01-12 03:35:22.522] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000036.aspx.cs
[2026-01-12 03:35:22.533] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000037.aspx
[2026-01-12 03:35:22.538] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000037.aspx.cs
[2026-01-12 03:35:22.554] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000038.aspx
[2026-01-12 03:35:22.564] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000038.aspx.cs
[2026-01-12 03:35:22.574] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000039.aspx
[2026-01-12 03:35:22.584] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000039.aspx.cs
[2026-01-12 03:35:22.597] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000040.aspx
[2026-01-12 03:35:22.605] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000040.aspx.cs
[2026-01-12 03:35:22.617] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000041.aspx
[2026-01-12 03:35:22.627] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000041.aspx.cs
[2026-01-12 03:35:22.639] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000042.aspx
[2026-01-12 03:35:22.649] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000042.aspx.cs
[2026-01-12 03:35:22.659] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000043.aspx
[2026-01-12 03:35:22.669] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000043.aspx.cs
[2026-01-12 03:35:22.680] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000044.aspx
[2026-01-12 03:35:22.691] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000044.aspx.cs
[2026-01-12 03:35:22.701] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000101.aspx
[2026-01-12 03:35:22.713] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\Pages_MS\MS000101.aspx.cs
[2026-01-12 03:35:22.784] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_po\po301000.aspx
[2026-01-12 03:35:22.796] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_po\po301000.aspx.cs
[2026-01-12 03:35:22.810] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_so\so303000.aspx
[2026-01-12 03:35:22.812] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_so\so303000.aspx.cs
[2026-01-12 03:35:22.824] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_tx\tx205000.aspx
[2026-01-12 03:35:22.826] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\CstPublished\pages_tx\tx205000.aspx.cs
[2026-01-12 03:35:22.910] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Bin\MYEInvoice.dll
[2026-01-12 03:35:22.921] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Bin\MYEInvoice.pdb
[2026-01-12 03:35:22.989] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Bin\UblTr.dll
[2026-01-12 03:35:22.991] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\AP\APAM0001.aspx
[2026-01-12 03:35:22.993] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\AP\APAM0001.aspx.cs
[2026-01-12 03:35:22.994] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\AP\APAM0002.aspx
[2026-01-12 03:35:22.995] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\AP\APAM0002.aspx.cs
[2026-01-12 03:35:23.008] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\AR\ARAM0001.aspx
[2026-01-12 03:35:23.009] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\AR\ARAM0001.aspx.cs
[2026-01-12 03:35:23.019] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MP\MP000100.aspx
[2026-01-12 03:35:23.028] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MP\MP000100.aspx.cs
[2026-01-12 03:35:23.030] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000001.aspx
[2026-01-12 03:35:23.031] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000001.aspx.cs
[2026-01-12 03:35:23.043] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000002.aspx
[2026-01-12 03:35:23.044] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000002.aspx.cs
[2026-01-12 03:35:23.056] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000003.aspx
[2026-01-12 03:35:23.057] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000003.aspx.cs
[2026-01-12 03:35:23.068] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000004.aspx
[2026-01-12 03:35:23.070] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000004.aspx.cs
[2026-01-12 03:35:23.072] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000005.aspx
[2026-01-12 03:35:23.073] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000005.aspx.cs
[2026-01-12 03:35:23.084] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000006.aspx
[2026-01-12 03:35:23.086] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000006.aspx.cs
[2026-01-12 03:35:23.087] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000007.aspx
[2026-01-12 03:35:23.089] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000007.aspx.cs
[2026-01-12 03:35:23.090] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000008.aspx
[2026-01-12 03:35:23.091] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000008.aspx.cs
[2026-01-12 03:35:23.103] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000009.aspx
[2026-01-12 03:35:23.104] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000009.aspx.cs
[2026-01-12 03:35:23.106] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000010.aspx
[2026-01-12 03:35:23.107] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000010.aspx.cs
[2026-01-12 03:35:23.108] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000026.aspx
[2026-01-12 03:35:23.110] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000026.aspx.cs
[2026-01-12 03:35:23.121] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000027.aspx
[2026-01-12 03:35:23.123] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000027.aspx.cs
[2026-01-12 03:35:23.124] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000028.aspx
[2026-01-12 03:35:23.125] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000028.aspx.cs
[2026-01-12 03:35:23.127] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000029.aspx
[2026-01-12 03:35:23.128] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000029.aspx.cs
[2026-01-12 03:35:23.139] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000030.aspx
[2026-01-12 03:35:23.148] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000030.aspx.cs
[2026-01-12 03:35:23.159] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000032.aspx
[2026-01-12 03:35:23.160] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000032.aspx.cs
[2026-01-12 03:35:23.171] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000033.aspx
[2026-01-12 03:35:23.173] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000033.aspx.cs
[2026-01-12 03:35:23.184] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000034.aspx
[2026-01-12 03:35:23.185] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000034.aspx.cs
[2026-01-12 03:35:23.197] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000035.aspx
[2026-01-12 03:35:23.198] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000035.aspx.cs
[2026-01-12 03:35:23.210] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000036.aspx
[2026-01-12 03:35:23.212] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000036.aspx.cs
[2026-01-12 03:35:23.213] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000037.aspx
[2026-01-12 03:35:23.214] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000037.aspx.cs
[2026-01-12 03:35:23.226] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000038.aspx
[2026-01-12 03:35:23.228] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000038.aspx.cs
[2026-01-12 03:35:23.239] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000039.aspx
[2026-01-12 03:35:23.241] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000039.aspx.cs
[2026-01-12 03:35:23.252] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000040.aspx
[2026-01-12 03:35:23.254] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000040.aspx.cs
[2026-01-12 03:35:23.264] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000041.aspx
[2026-01-12 03:35:23.266] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000041.aspx.cs
[2026-01-12 03:35:23.267] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000042.aspx
[2026-01-12 03:35:23.269] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000042.aspx.cs
[2026-01-12 03:35:23.270] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000043.aspx
[2026-01-12 03:35:23.271] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000043.aspx.cs
[2026-01-12 03:35:23.272] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000044.aspx
[2026-01-12 03:35:23.273] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000044.aspx.cs
[2026-01-12 03:35:23.275] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000101.aspx
[2026-01-12 03:35:23.276] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Pages\MS\MS000101.aspx.cs
[2026-01-12 03:35:23.440] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Bin\MYEInvoice.dll
[2026-01-12 03:35:23.442] Patching the file C:\Customization\EInvoice2025\EInvoice2025Validation\EInvoice2025Website\Bin\MYEInvoice.pdb
[2026-01-12 03:35:29.549] System.Exception: An error occurred while copying files to the temp directory  ---> 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.   at System.IO.PathHelper.GetFullPathName()   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)   at System.IO.Path.GetFullPathInternal(String path)   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)   at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest)   at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest)   at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest)   at Customization.CstSyncWebsiteFolder.SyncDir(String src, String dest)   at Customization.CstSyncWebsiteFolder.CopyFilesInternal(String sourcePath, IEnumerable`1 files)   at Customization.CstSyncWebsiteFolder.CopyFiles(String sourcePath, IEnumerable`1 files)   --- End of inner exception stack trace ---   at Customization.CstSyncWebsiteFolder.CopyFiles(String sourcePath, IEnumerable`1 files)   at Customization.CstManager.ValidateDocument(CstDocument doc, ICustomizationLogger logger, Boolean patchLibInDB)   at PX.Customization.CstValidationProcess.ValidateCurrentDocument(ICustomizationLogger logger, String& projectNames)   at PX.Customization.CstValidationProcess.CompileInternal()
[2026-01-12 03:35:29.551] An error has occurred. Please report this error to the technical support and attach the information provided above.

Regards,

Sakthi


DipakNilkanth
Pro III
Forum|alt.badge.img+14
  • Pro III
  • Answer
  • January 12, 2026

Hi ​@sakthi61,

I faced a similar issue earlier and tried multiple approaches to resolve it, including changing the installation path, renaming the instance, shortening folder paths, creating a new Acumatica instance under a shorter directory, enabling Win32 long paths in Windows, and reducing the customization project name. Unfortunately, none of these steps resolved the issue for the existing instance.

Eventually, I created a new Acumatica instance on a drive other than C:, and that resolved the problem. It might be related to access permissions or inherited path constraints on the original instance.

If anyone has found a solution to fix this issue without recreating the instance, I’d be happy to hear about it.