Deployable package failed - Latest Update

Hi,
I imported the model of the latest version of Docentric on a dev environment, build and sync went smoothly and the compilation on Devops Pipeline were ok as well.

The issue arrived when I tried to apply the package to another T1 dev environement (which is a test environment actually).
I tried to apply the package via LCS and command line but both went wrong.
Via the command line, I had more information about the issue.

It can’t turn on the D365 batch service due to this error :
An exception was encountered while initializing event handler initializer ‘InitMethod1’ on type ‘Dynamics.AX.Application.EventHandler.EventHandlersInitializeClass, Dynamics.AX.DocentricAXExtension, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
Method not found: ‘Void Dynamics.AX.Application.__DocumentAttachment_DC_Extension.AzureStorageAccount_DC_OnValidating(Dynamics.AX.Application.FormControl, Dynamics.AX.Application.FormControlEventArgs)’.

Sometimes it’s this error in DocentricAXExtension model, sometimes in another model but with the same “Method not found” error.

I tried to sync the DB via Visual Studio but the same error shows up.

Do you have any recommandation regarding this kind of error ?

Thanks

Hi ValentinG,

first of all, welcome to the community!

To avoid any misunderstandings, we have a couple of questions first.

Is the deployable package that you used provided by Docentric or did you create your own?
If you made your own package, did you make an all-in-one deployable package?

Greetings!

Hi Dalilla,

Indeed, this is a all-in-one package. It was created via DevOps pipeline and I only added the ModuleToRemove.txt file to remove the LP labels model.

Hi @ValentinG,

It is strange that build and sync works on one environment but fails on the other. This might indicate that the problem occurred somewhere in transfer or creating of the deployable package.

I would advise you to first check the procedure which is creating artifacts. You can check our How to Add Docentric AX Models to TFS/Azure DevOps manuals to make sure you’re on the right track.

Also, please check how artifacts have been checked in on DevOps and make sure that there are all Docentric models there and that the state in the Deployable package is the same.

If this seems OK, please contact us on support@docentric.com for further troubleshooting.

1 Like

Hi,

Thanks, DLL files were missing :slight_smile:

Update went well after adding them.

Hi ValentinG ,

Thank you very much for your feedback. I am glad that the solution meets your needs.

Have a great day.