I updated installed the latest 3.4.9.2 package from docentric and updated my devbox to 10.0.44. The models compile fine on my devbox but when checking in the models to the GIT repo I receive an error on the SystemUser.Extension_DC.
Error: AxSecurityRoleExtension/SystemUser.Extension_DC - "An unhandled exception was thrown while validating SystemUser.Extension_DC with callstack System.IO.FileLoadException: Could not load file or assembly ‘Microsoft.Dynamics.ApplicationPlatform.Flighting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Hello @Mark_Edwards and welcome to the Docentric community!
It sounds like the issue occurs during check-in to the GIT repo and not during local build on your devbox since it Docentric works fine on your devbox.
You can try few steps to help troubleshoot and resolve the issue:
Check file versions:
Compare the file versions locally on your devbox and the one in the GIT repo. Make sure both files are referencing the same version and haven’t been somehow overwritten or mismatched.
Recreate the extension object:
Try the following clean-up steps:
Delete the object from your project.
Commit the deletion to GIT.
Re-add the extension object (this will regenerate the file correctly).
Commit the new file again.
Since your models compile fine on your devbox, this means that the code itself is correct. The error might therefore be linked to some metadata or file integrity issues during check-in.
Hi @BlazJ thank you for the response. I did remove the base model from the repo and then reinstall it. I had the same result. In addition, I had a co-worker receive the same error on a different project.
As for the build on the pipeline, the package built properly with no errors until I updated the nugets to the latest version. Once the nugets were updated that is when I started seeing this error.
I also have the same problem.
I solved it by creating the PipeLine with the HotFix package, but it is a solution that then involves extra work during installation on the production machines.