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 ?
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?
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.
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.