Skip to main content
Solved

publishing customization from CPE fails, but works from SM204505

  • August 27, 2026
  • 9 replies
  • 108 views

Forum|alt.badge.img

i am attempting to publish a customization project on an instance running on localhost (build 26.100.0175.4) on my dev box.  if i publish from the CPE, it fails:


[2026-08-26 23:58:36.965] Validation finished successfully.

[2026-08-26 23:58:45.103] System.ApplicationException: The customization document has been changed after validation.
   at Customization.CstManager.Publish(Int32 hashCode, ICustomizationLogger logger)
   at PX.Web.Customization.Controls.Publish.DoPublish(Int32 hashCode, HttpResponse response)
[2026-08-26 23:58:45.111] An error has occurred. Please report this error to the technical support and attach the information provided above.


instance is running on a W11 box; no other users are connected, no IDE is running, only one instance of Edge is open, with the main browser open to SM204505, and the CPE window open attempting to publish.  no other customization projects are published in the instance.   the project contains no Modern UI items, and modern UI is not enabled on any screens in the instance. i’ve rebooted the workstation to insure no other processes are touching the files or database. 

if i publish from SM204505, it successfully publishes.   

interestingly, i get the same results when attempting to publish the same package on one of our test servers hosted somewhere in the sky….  publishing fails from CPE, but succeeds from SM204505.

thanks in advance for any suggestions.

    jim

 

Best answer by jim71

for what its worth, the offending culprit was in the project XML.  several custom screens had been added to the project by adding the aspx and aspx.cs files.  changes were then made using screen editor in CPE, resulting in the project.xml file contained both the <file...> entry from the initial add, as well as the <page...> entry for the changes made via the CPE.  for some reason, publishing via CPE caused this to choke, whereas publishing from SM204505 worked, applying the <page ...> updates to the published screen.

lesson learned - if custom screen is added as a file addition, don’t then edit it using CPE.

to correct the issue, i made sure the file in the project was updated with the current screen and removed the screen change entries (<page...>).

btw, ​@KrunalDoshi, copying the project as you suggested just reproduced the same error, but it was certainly worth the few minutes it took to try.

 

9 replies

Forum|alt.badge.img+4
  • Captain II
  • August 27, 2026
  • CPE version vs. Acumatica build
    • Make sure the CPE you're using is the version intended for 26.100.0175.4.
    • An older/newer CPE can sometimes validate successfully but fail when the publish request compares the customization document hash.
  • Try exporting the project and publishing the exported package
    • Export the customization project/package from the instance.
    • Create a fresh customization project/package from that export.
    • Then try publishing that through CPE.
    • This helps determine whether the problem is related to the project metadata/document itself rather than the CPE connection.
  • Try a brand-new trivial customization
    • Create a new project containing something extremely simple, e.g. a small DAC extension or screen customization.
    • Publish it through CPE.
    • If even the trivial project fails, that strongly points toward a CPE/instance compatibility issue rather than your customization.
  • Check whether CPE is modifying the package during validation

     

    The strongest diagnostic test

     

    Create a completely new, empty/simple customization project → save it → publish it using CPE.

    If that also fails: almost certainly CPE/version/client-side issue.
    If that succeeds: the issue is specific to the existing customization project's document/package.
    If an exported/reimported copy succeeds: the original project's customization document is likely carrying some metadata/state that CPE doesn't like.

     


kpopova
Acumatica Employee
Forum|alt.badge.img+3
  • Acumatica Employee
  • August 27, 2026

Try to search for Zero Width No-Break Space characters in your ASPX and ASPX.cs files and remove them.


Forum|alt.badge.img+8
  • Captain II
  • August 27, 2026

@FarhanaM60  - if you’re using AI to generate your answers, please indicate that in your post.


KrunalDoshi
Semi-Pro III
Forum|alt.badge.img+7
  • Semi-Pro III
  • August 27, 2026

Hi ​@FarhanaM60,

I would recommend first checking the exact Acumatica version/build on which the customization project was created. Make sure it matches the version/build of the instance where you are currently trying to publish the customization. Remove any spaces or special characters (if any) from your customization project name.

If the versions are the same, I would suggest creating a new customization project, importing everything from the existing project into the new project, and then trying to publish it from the Customization Project Editor (CPE).

Since I’m not sure what your customization contains, it’s difficult to suggest a specific solution. However, the above scenario should help determine whether the issue is related to the existing customization project itself.

I would also recommend putting the site into Maintenance Mode and then trying to publish the customization once from CPE. This will help rule out any interference from other users or processes modifying the customization project during the validation/publishing process.

Hope this helps!


Forum|alt.badge.img
  • Author
  • Freshman II
  • August 28, 2026

Try to search for Zero Width No-Break Space characters in your ASPX and ASPX.cs files and remove them.

Thanks for the suggestion.  i searched all ASPX and .cs files in the project, and sadly, this was not the issue - none of them had embedded Zero width no-break space characters.


Forum|alt.badge.img
  • Author
  • Freshman II
  • August 28, 2026

Hi ​@FarhanaM60,

I would recommend first checking the exact Acumatica version/build on which the customization project was created. Make sure it matches the version/build of the instance where you are currently trying to publish the customization. Remove any spaces or special characters (if any) from your customization project name.

If the versions are the same, I would suggest creating a new customization project, importing everything from the existing project into the new project, and then trying to publish it from the Customization Project Editor (CPE).

Since I’m not sure what your customization contains, it’s difficult to suggest a specific solution. However, the above scenario should help determine whether the issue is related to the existing customization project itself.

I would also recommend putting the site into Maintenance Mode and then trying to publish the customization once from CPE. This will help rule out any interference from other users or processes modifying the customization project during the validation/publishing process.

Hope this helps!

thanks for your suggestions.

i’ve been working with the customization project in this version/build of acumatica for some time, and something has caused it to go wonky.  i tried maintenance mode, even though i had already tried publishing from my dev box after a reboot, with no IDE open, no automation schedules or biz events active, etc.  i have the same issue when attempting to publish on 2 other servers - publishing from CPE fails, while publishing from SM204505 works. 

i suspect there might be something in the project causing the long running validation processes to hang in the CPE, whereas the delay when acumatica prompts to publish is long enough for it to finish.

i was hoping to avoid creating a new project - it contains both screen and workflow changes to 15+ acumatica screens, adds 10 new pages, database scripts for multiple custom tables and additions to Acumatica tables, a DLL, site map entries, GIs, etc.   folding all of the changes into a new project will be a bit tedious.

if i find the culprit while building the new project, i will report back here to hopefully save someone else the same headache/time suck.   as i am often heard saying, if it were simple, first graders could do our jobs.


Forum|alt.badge.img+4
  • Captain II
  • August 28, 2026

I would suggest creating a small, separate customization package with only a few simple screen customizations and minimal or no business logic. If any logic is required, keep it to very basic business logic.

Try publishing this package through CPE. If it publishes successfully, we can narrow down the issue and suspect that something within the business logic or a specific customization in the larger project is causing the publishing problem.

You can then gradually add the customizations from the original project to the new package and identify which component is causing the issue.


KrunalDoshi
Semi-Pro III
Forum|alt.badge.img+7
  • Semi-Pro III
  • August 28, 2026

Hi ​@jim71,

I can understand that creating new project with many screens and other objects becomes tedious. However, you can try saving the project and open the project in following manner by creating new project. This way you do not have to add all object manually. Check if that resolves the issue.

  1. First, you can save the project to your local drive, from your existing customization project
  1. Second, create a new customization project (Make sure you unpublish the current project and remove it completely).
  1. Third, open the project, from your new customization project

 

 

 

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • Answer
  • August 28, 2026

for what its worth, the offending culprit was in the project XML.  several custom screens had been added to the project by adding the aspx and aspx.cs files.  changes were then made using screen editor in CPE, resulting in the project.xml file contained both the <file...> entry from the initial add, as well as the <page...> entry for the changes made via the CPE.  for some reason, publishing via CPE caused this to choke, whereas publishing from SM204505 worked, applying the <page ...> updates to the published screen.

lesson learned - if custom screen is added as a file addition, don’t then edit it using CPE.

to correct the issue, i made sure the file in the project was updated with the current screen and removed the screen change entries (<page...>).

btw, ​@KrunalDoshi, copying the project as you suggested just reproduced the same error, but it was certainly worth the few minutes it took to try.