Skip to main content

What are your things to watch out for when publishing?

  • March 31, 2022
  • 1 reply
  • 213 views

Forum|alt.badge.img+6

Something I learned the other day is when you create a snapshot that you intend to use in another tenant of the same instance, if you create a snapshot without attachments, you will be missing any files that are part of your customization projects.  You’ll need to export the customization projects from the source tenant and then re-import them into the target tenant.

The error message I received was as follows:

PX.Data.PXException: Cannot access the uploaded file. Failed to get the latest revision of the file ecda4140-4831-4fe6-8674-68d14dec4445
   at Customization.CstBinFile.GetFileFromDb()
   at Customization.CstBinFile.SaveFiles(FilesCollection context)
   at Customization.CstDocument.GetFiles(FilesCollection context)
   at Customization.CstManager.ValidateDocument(CstDocument doc, Action`1 logMessageDelegate, Boolean patchLibInDB)
   at PX.Customization.CstValidationProcess.ValidateCurrentDocument(Action`1 logMessage, String& warnings)
   at PX.Customization.CstValidationProcess.CompileInternal()
   at PX.Customization.CstValidationProcess.<>c__DisplayClass6_0.<ProcessRequest>b__0()

 

Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+2

Hi @Django ,

When working with snapshots and customization on a new instance I would recommend this approach:

-Create the new instance(Acumatica).

-Publish Customization Projects(latest version) in the new instance.

-In the new instance,then import/restore Snapshot.

-After snapshot restored, if customization is not publish then republish the Customization project(Make sure the customization is the latest version of it, re-import customization if you are not sure).

About the error message you were getting please review the following post:

https://stackoverflow.com/questions/44968390/error-when-attempting-to-publish-customizations-cannot-access-the-uploaded-file

Hope this helps.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings